I would like to be able to press a button to disable the menu bar in my application. If you go
menubar.IsVisible = false;
it throws a null refe
ApplicationBar.IsVisible = false;