Hello
I try to open a menu over a XamHtmlViewer. The menu is always hidden by XamHtmlViewer. It doesn't matter if I change ZOrder. I have therefore inserted in the example MenuXaml.xaml below of the menu the htmlViewer to see whether the problem is related in my project together:Before I load the Google website the menu works correct.After loading the site the menu is override with the viewer.
The xaml code for that is:<StackPanel Grid.Row="4" HorizontalAlignment="Stretch" VerticalAlignment="Top" ><ig:XamHtmlViewer Name="HtmlViewer" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="300" /></StackPanel>
And cs-code for laod and unload over the menu Google is:private void XamMenuItem_Click(object sender, System.EventArgs e){if (HtmlViewer.SourceUri == null) HtmlViewer.SourceUri = new Uri("http://www.google.com", UriKind.Absolute);else HtmlViewer.SourceUri = null;}
The same problem I have with XamDialogWindow that has a position over the XamHtmlViewer.
How can I fix this?
Regards
Xaver
Hello Xavier,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post and I can say that this is behavior is expected since the XamHtmlViewer is a plugin for Silverlight’s plugin and this is why it is always at the top and the XamMenueItem stays behind it. This a limitation and I can suggest you leave space, so you can see the items when the Viewer has content.
Feel free to write me if you have further questions.