title: Delete default context menu when right click in CefSharp Chromium webbrowser with WPF
body: <p>In my WPF Application, I am loading a URL in a CefSharp Webbrowser. When I gave rightclick from mouse, a default context menu is displaying as below image</p>
  
  <p><a href="https://i.stack.imgur.com/Nu9D8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nu9D8.jpg" alt="enter image description here"></a></p>
  
  <p>My xaml code is </p>
  
  <pre><code>&lt;Window x:Class="StoneApp.WebviewWindow" WindowState="Maximized"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:cefSharp="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf" 
      xmlns:local="clr-namespace:StoneApp"
      mc:Ignorable="d"
      Title="MyApp"&gt;
  
  &lt;DockPanel&gt;
  
      &lt;Grid x:Name="mygrid"&gt;
          &lt;cefSharp:ChromiumWebBrowser x:Name="my_webview" IsBrowserInitializedChanged ="InitializeBrowser" Grid.Row="0" MouseRightButtonDown="Rightbtn_MouseDown"/&gt;
      &lt;/Grid&gt;
  
  &lt;/DockPanel&gt;
  
  &lt;/Window&gt;
  </code></pre>
  
  <p>My xaml.cs code is</p>
  
  <pre><code>  public WebviewWindow(string webresponse)
      {
          InitializeComponent();
          this.webresponse = webresponse;
      }
  
      private void InitializeBrowser(object sender, DependencyPropertyChangedEventArgs e)
      {
          my_webview.Load(webresponse);
      }
  
      private void Rightbtn_MouseDown(object sender, MouseButtonEventArgs e)
      {
          if (e.RightButton == MouseButtonState.Pressed)
          {
              e.Handled = false;
          }
      }
  </code></pre>
  
  <p>When I give rightclick I am not able to call 'Rightbtn_MouseDown' function too. So my issue is I would like to delete/hide the default context menu when rightclick on the webbrowser view.</p>