Gets or sets the
System.Windows.Forms.ContextMenuStrip associated with this control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property ContextMenuStrip As System.Windows.Forms.ContextMenuStrip |
| C# | |
|---|
public System.Windows.Forms.ContextMenuStrip ContextMenuStrip {get; set;} |
Property Value
The
System.Windows.Forms.ContextMenuStrip for this control, or null if there is no
System.Windows.Forms.ContextMenuStrip. The default is null.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also