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