title: WPF WebBrowser Mouse Events not working as expected
body: <p>I have a WebBrowser object in a WPF Page and I'm trying to do something whenever the user interacts with the page. I have intially tried to use the events associated with the WebBrowser object but they don't seem to be firing. Below is a simplified example of what my code is trying to do:</p>
  
  <pre><code>webBrowser.MouseDown += new MouseButtonEventHandler(webBrowser_MouseDown);
  </code></pre>
  
  <p>with the event handler as:</p>
  
  <pre><code>void webBrowser_MouseDown(object sender, MouseButtonEventArgs e)
  {
    System.Windows.MessageBox.Show("Pressed");
  }
  </code></pre>
  
  <p>However when I run the page and click inside the WebBrowser no message box is displayed.</p>
  
  <p>Apologies, originally I had mentioned that it was a System.Controls WebBrowser rather than a Forms browser.</p>