title: Windows Phone 7 Hiding the Application Bar
body: <p>I would like to be able to press a button to disable the menu bar in my application. If you go</p>
  
  <pre><code>menubar.IsVisible = false;
  </code></pre>
  
  <p>it throws a null reference exception. The menu bar is declared in XAML.</p>
  
  <p>Anyone know if its possible to hide it on the fly like this?</p>