Spread Windows Forms 7.0 Product Documentation
ContextMenuStrip Property
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class : ContextMenuStrip Property


Glossary Item Box

Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this control.

Syntax

Visual Basic (Declaration) 
Public Overrides Property ContextMenuStrip As ContextMenuStrip
Visual Basic (Usage)Copy Code
Dim instance As EditBase
Dim value As ContextMenuStrip
 
instance.ContextMenuStrip = value
 
value = instance.ContextMenuStrip
C# 
public override ContextMenuStrip ContextMenuStrip {get; set;}

Property Value

The System.Windows.Forms.ContextMenuStrip for this control, or a null reference (Nothing in Visual Basic) if there is no System.Windows.Forms.ContextMenuStrip.
The default is a null reference (Nothing in Visual Basic).

Remarks

If a ContextMenu has also been assigned to the control, the ContextMenu takes precedence over the ContextMenuStrip.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.