Customizing the UI of WebView2 apps

Customize the context menus of your WebView2 app

Use the ContextMenuRequested API to customize the context-menus (right-click menus) of your WebView2 app. Using this API, you can:

  • Add and remove items from the default WebView2 context menus.

  • Create your own context menu by using data that's passed from the WebView2 control to your app.

See Customize context menus in WebView2.