TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / C1TreeView Class / ContextMenuStrip Property

In This Topic
    ContextMenuStrip Property (C1TreeView)
    In This Topic
    Gets or sets the System.Windows.Forms.ContextMenuStrip associated with this control.
    Syntax
    'Declaration
     
    
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
    Public Overrides Property ContextMenuStrip As ContextMenuStrip
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
    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).
    See Also