C # UWP Hide Soft Navigation bar

How can I hide / minimize the navigation bar programmatically at the bottom of the Windows 10 application (platform for unified windows), which I write for phones?

You can access the StatusBar at the top with:. Windows.UI.ViewManagement.StatusBar.GetForCurrentView () HideAsync ();

+5
source share
1 answer

If you want to hide both, you can use full-screen mode rather than hide the status bar, then the navigation bar will also be hidden.

Windows.UI.ViewManagement.ApplicationView.GetForCurrentView (). TryEnterFullScreenMode ()

+4
source

Source: https://habr.com/ru/post/1241277/


All Articles