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
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.
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.