Spread for ASP.NET 9.0 Product Documentation
ShowDefaultContextMenu Property


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.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ContextMenu Class
ContextMenu Members

 

 


Copyright © GrapeCity, inc. All rights reserved.