Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1CommandHolder Class / SetC1ContextMenu Method
The control or NotifyIcon for which to set the context menu.
The context menu to attach to the control.

In This Topic
    SetC1ContextMenu Method
    In This Topic
    Sets a context menu contained within the C1CommandHolder.
    Syntax
    'Declaration
     
    
    Public Sub SetC1ContextMenu( _
       ByVal control As Object, _
       ByVal value As C1ContextMenu _
    ) 
    public void SetC1ContextMenu( 
       object control,
       C1ContextMenu value
    )

    Parameters

    control
    The control or NotifyIcon for which to set the context menu.
    value
    The context menu to attach to the control.
    See Also