Is there any way to change the Context Menu of a Web browser using Wpf (C#)

c#, contextmenu, default, wpf, xaml

Solution

Answer - YES. There is a setting in the webbrowser control for: .IsWebBrowserContextMenuEnabled = false;

Setting this to false disables the IE contextmenu, allowing whichever one you set to rule the roots. Simples..

Problem

I would to change the menuitems in the default context menu provided in the Web Browser Control. I have already tried: webbrowser.contextmenu = mycontextmenu. Nothing changed. Is there a way to do this?

Original source