ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / C1CommandHolder Class / GetC1Command Method

In This Topic
    GetC1Command Method (C1CommandHolder)
    In This Topic
    Determines the command (of the type C1Command or inherited) invoked when the control's default (or, if there is none, Click) event fires.
    Syntax
    'Declaration
     
    Public Function GetC1Command( _
       ByVal control As System.Object _
    ) As C1Command
    public C1Command GetC1Command( 
       System.object control
    )

    Parameters

    control
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also