System.Windows.Forms.WebBrowser.IsWebBrowserContextMenuEnabled Property

Gets or a sets a value indicating whether the shortcut menu of the System.Windows.Forms.WebBrowser control is enabled.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool IsWebBrowserContextMenuEnabled { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the System.Windows.Forms.WebBrowser control displays a shortcut menu when a user right-clicks it. This behavior is useful when you use the control as a generic browser. If you want to conceal the fact that you are using the System.Windows.Forms.WebBrowser control, for example to create a user interface that seamlessly combines Web-based controls with Windows Forms controls, set the WebBrowser.IsWebBrowserContextMenuEnabled property to false.

You can disable other standard browser features by setting the WebBrowser.AllowWebBrowserDrop and WebBrowser.WebBrowserShortcutsEnabled properties to false.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0