Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / FieldsEditorControl Class / ContextMenuStrip Property


In This Topic
    ContextMenuStrip Property (FieldsEditorControl)
    In This Topic
    Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this control.
    Syntax
    'Declaration
     
    
    Public Overridable Property ContextMenuStrip As ContextMenuStrip
    'Usage
     
    
    Dim instance As FieldsEditorControl
    Dim value As ContextMenuStrip
     
    instance.ContextMenuStrip = value
     
    value = instance.ContextMenuStrip
    public virtual 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.
    See Also