title: Windows Phone app background image
body: <p>I'm trying to change the background image for all my xaml pages in the app.xaml, unsuccessfully.</p>
  
  <p>I'm trying the following, in the App constructor:</p>
  
  <pre><code>var imageBrush = new ImageBrush
  {
      ImageSource = new BitmapImage(new Uri("/Images/SomeBackgroundImage.png", UriKind.Relative))
  };
  
  RootFrame.Background = imageBrush;
  </code></pre>
  
  <p>I don't want to do this at the page level, as all pages will have the same background image depending on the theme selected by the user.</p>
  
  <p>Ideas on what I'm doing wrong here?</p>