WPF WebBrowser Mouse Events not working as expected
问题 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: webBrowser.MouseDown += new MouseButtonEventHandler(webBrowser_MouseDown); with the event handler as: void webBrowser_MouseDown(object sender, MouseButtonEventArgs e) { System.Windows.MessageBox.Show(\