public Task NotifyFullScreenExited() { if (FullScreenExited != null) { return(FullScreenExited.Invoke()); } return(Task.CompletedTask); }
public bool TryExitFullScreen() { if (_appWindow.Presenter.RequestPresentation(AppWindowPresentationKind.Default)) { FullScreenExited?.Invoke(this, null); _appWindow.Changed -= AppWindow_Changed; return(true); } return(false); }