Reputation: 582
I am developing a windows phone 8.1 universal app and I have placed the application bar at bottom of the page. I have some buttons at bottom of the page and whenever I click buttons at bottom of the page,the app bar is popping out. It becomes a problem while playing with the bottom buttons while app bar is coming.I have made app bar as ClosedDisplayMode="Minimal",but same problem persist.
Is there any way to place app bar on top of the page or to hide the bottom appbar to solve this issue?
Upvotes: 0
Views: 42
Reputation: 29790
The first way to do is just to hide BottomAppBar by setting its visibility:
BottomAppBar.Visibility = Visibility.Collapsed;
The other way may be to set it to null:
BottomAppBar = null;
in the code,BottomAppBar = myCommandBar;
.Upvotes: 1