Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / EditBase Class / ShowContextMenu Property


In This Topic
    ShowContextMenu Property (EditBase)
    In This Topic
    Gets or sets a value that indicates whether to pop up the context menu of the control.
    Syntax
    'Declaration
     
    
    Public Property ShowContextMenu As Boolean
    'Usage
     
    
    Dim instance As EditBase
    Dim value As Boolean
     
    instance.ShowContextMenu = value
     
    value = instance.ShowContextMenu
    public bool ShowContextMenu {get; set;}

    Property Value

    true if the context menu is shown when right-clicking the control; otherwise, false.
    The default is true.
    Remarks
    This property determines whether to show the context menu. If the ContextMenu or ContextMenuStrip is not none, this control displays this special menu. If both values are none, the default context menu is displayed.
    See Also