質問

I'm using a WebView control in my app, and it takes all the screen in both width and height. I use the "WebBrush workaround" to be able to display the AppBar and other controls in front of the WebView when needed.

For the AppBar it's working when using a tablet and swiping from the bottom or the top of the device. But on a desktop when clicking the right button of the mouse, the AppBar are disappearing almost at the same time they are appearing.

Does a trick/workaround exist to be able to support this scenario?

役に立ちましたか?

解決

The sample for the WebView contains a scenario with a full screen WebView and the AppBar. The hack is to resize the WebView when the AppBar opens.

http://code.msdn.microsoft.com/windowsapps/XAML-WebView-control-sample-58ad63f7

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top