Docking Tab for WinForms | ComponentOne
C1.Win.Command Namespace / C1CommandHolder Class / CommandHolderByForm Method
Form whose command holder is returned.

In This Topic
    CommandHolderByForm Method
    In This Topic
    Returns the command holder for the specified form, if it exists.
    Syntax
    'Declaration
     
    
    Public Shared Function CommandHolderByForm( _
       ByVal form As Control _
    ) As C1CommandHolder
    public static C1CommandHolder CommandHolderByForm( 
       Control form
    )

    Parameters

    form
    Form whose command holder is returned.

    Return Value

    The command holder for the specified form, or null.
    See Also