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
Nevermind, I found it. You can't call the name you've given it, have to use applicationbar.isivisble = false
You can access this as a static member on ApplicationBar. i.e.
ApplicationBar.IsVisible = true/false;
Some background here on why ApplicationBar doesn't play like normal silverlight elements.
Why are the ApplicationBar objects not FrameworkElements? - Peter Torr's Blog
To do it in code behind if you have not referenced it other than in XAML:
(ApplicationBar as ApplicationBar).IsVisible = true;
ApplicationBar.IsVisible = false;