0
votes

I have an App that was migrated from Windows 8.1 Store App to UWP. The original function on Windows 8 permitted a bottom swipe gesture to bring up the Page.BottomAppBar.

On UWP (Universal Windows Platform), the bottom swipe gesture now brings up the computer taskbar instead of the App bar.

I understand that I will need to reinvent the swipe feature when I convert the BottomAppBar into a CommandBar. But even if I do that, I still need to prevent the taskbar from showing.

Does anyone have any direction on how to prevent Windows 10 UWP default screen swipes?

EDIT
So I did find another issue on stackoverflow that has a slightly similar case. See UWP fullscreen: How to hide taskbar on hover?. I'd prefer to completely omit any indicator of the taskbar

EDIT 2
Thanks to @Martin ZickMund, I was able to define an overlay on the page that would allow users to swipe from the bottom of the screen to bring up the BottomAppBar, but there is still a small buffer that brings up the taskbar icon in the bottom-center of the screen.

1
Can you share your enough codes which you are currently using, for testing purposeShubham Sahu
How about running the app in tablet mode? Set tablet mode in Settings.kennyzx
@kennyzx I still see the taskbar when I swipe from the bottom of the screen in tablet mode when in fullscreen.Stoic Developer

1 Answers

1
votes

When your app is the windowed mode, there is unfortunately no way to implement this behavior, as the task bar will always override your app.

Whent the app is in full screen, this "might" theoretically be possible, if you follow similar steps to this SO answer (dealing with left-side swipe instead of bottom).