title: Change Webbrowser background color in WPF
body: <p>I have webbrowser control in my xaml code and i want to change it's document's background color.</p>
  
  <pre><code>&lt;WebBrowser  Source="http://google.com" x:Name="IE" Navigated="IE_Navigated" /&gt;
  
  
  
  private void IE_Navigated(object sender, NavigationEventArgs e)
  {
      HtmlDocument document = (HtmlDocument)IE.Document;
      var color = System.Drawing.Color.Black;
      document.BackColor = color;
  }
  </code></pre>
  
  <p>it's not working;</p>