WPF 3.5 WebBrowser control and ZIndex

Posted by emsieja on Stack Overflow See other posts from Stack Overflow or by emsieja
Published on 2008-09-17T13:40:14Z Indexed on 2010/04/03 19:13 UTC
Read the original article Hit count: 1532

Filed under:
|
|

I'm trying to figure out why the control does not honor ZIndex.

Example 1 - which works fine

   <Canvas>
       <Rectangle Canvas.ZIndex="1" Height="400" Width="600" Fill="Yellow"/>
       <Rectangle Canvas.ZIndex="2" Height="100" Width="100" Fill="Red"/>
   </Canvas>

Example 2 - which does not work

   <Canvas>
       <WebBrowser Canvas.ZIndex="1" Height="400" Width="600" Source="http://www.stackoverflow.com"/>
       <Rectangle Canvas.ZIndex="2" Height="100" Width="100" Fill="Red"/>
  </Canvas>

Thanks, -- Ed

© Stack Overflow or respective owner

Related posts about wpf

Related posts about webbroswer