I want to put over WPF WebBrowser some UIElement (opacity = 0) ie and catch all click events via this overplaced UIElement.
Is it possible to do?
This code doesn’t work…
<Canvas Name="cnsMain">
<WebBrowser x:Name="MainBrowser" Visibility="Visible" Panel.ZIndex="0" />
<Canvas Panel.ZIndex="100" Opacity="0.01"></Canvas>
</Canvas>
Thanks!
No, the WPF Webbrowser is just the standard browser control in a WPF wrapper. It is not native WPF and therefore does not respect the
ZOrderof WPF apps.