I am developing an application, and I would like it when the user is in Tablet Mode and switches from one application to another to show a black screen when you press "alt + tab" and open applications are displayed. Instead of showing a screenshot of the "myTrip" application, I would like to show a black screen.

I know that for WPF we had ShowInTaskbar = false , but nothing like that in the Windows 10 Universal App Platform.
I have tried so far:
Window.Current.CoreWindow.VisibilityChanged += CoreWindow_VisibilityChanged;
private void Current_VisibilityChanged(object sender, VisibilityChangedEventArgs e) { var parentGrid = RootPanel(); parentGrid.Visibility = e.Visible ? Visibility.Visible : Visibility.Collapsed; }
But the application snapshot is taken before these events are called. Any idea on how to do this?
Sincerely.
c # win-universal-app windows-10-universal
toroveneno
source share