ShowDefaultContextMenu Property (ContextMenu)
In This Topic
Gets or sets whether the default browser menu is displayed when a context menu is canceled when opening.
Syntax
'Declaration
Public Overridable Property ShowDefaultContextMenu As Boolean
'Usage
Dim instance As ContextMenu
Dim value As Boolean
instance.ShowDefaultContextMenu = value
value = instance.ShowDefaultContextMenu
public virtual bool ShowDefaultContextMenu {get; set;}
Property Value
The default value is true, set to false to prevent the default menu from being displayed.
See Also