private void CoreWebView2_ContainsFullScreenElementChanged(object sender, object e)
 {
     _IsFullscreen = !_IsFullscreen;
     FullscreenRequested?.Invoke(WebvViewBorder, _IsFullscreen);
 }
示例#2
0
 private void FullscreenButton_Click(object sender, RoutedEventArgs e)
 {
     _IsFullscreen = !_IsFullscreen;
     FullscreenRequested?.Invoke(this, _IsFullscreen);
 }