Gets or sets whether the default browser menu is displayed when a context menu is canceled when opening.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property ShowDefaultContextMenu As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ContextMenu
Dim value As Boolean
instance.ShowDefaultContextMenu = value
value = instance.ShowDefaultContextMenu |
C# | |
---|
public virtual bool ShowDefaultContextMenu {get; set;} |
Property Value
The default value is true, set to false to prevent the default menu from being displayed.
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also