Problem with a lot of Frames

Hello, i am having a bit of trouble with some frames. I have 4 frames in an xbap. Beside the 4 frames i have 4 Rectangles. If i click one of the frame/rectangle the zIndex property for that control is set 10000, and for all the other controls 100. The frames doesn't seam to work with zIndex. Is there any way I can solve this?
Thanks
[342 byte] By [EvilShade] at [2008-1-4]
# 1
What is the content in the frames? If it is HTML, the native WebBrowser control will be hosted, and it will always be on top of any other WPF content because it's contained in a child window.
ChangoV.-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 2
the content is also an XBAP like the parent
EvilShade at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...
# 3
A Frame navigated to an XBAP (unusual but supported case) also involves the Web Browser control. Unfortunately, you cannot get seamless integration with the surrounding WPF content in terms of layout, focus management, support for various transforms and transparency. This SDK topic discusses the window interop issues at large: http://msdn2.microsoft.com/En-US/library/aa970688.aspx.
ChangoV.-MSFT at 2007-10-3 > top of Msdn Tech,Visual Studio Orcas,Windows Presentation Foundation (WPF)...

Visual Studio Orcas

Site Classified