ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.8 Assembly / C1.Win.C1Command Namespace / CommandClickEventArgs Class / CommandClickEventArgs Constructor / CommandClickEventArgs Constructor(C1Command,ClickSourceEnum,C1CommandLink,ContextInfo)
The command invoked by the user.
Determines what caused the click event to occur.
Gets the command link which was clicked by the user.
Gets the context info for events fired from a context menu.

In This Topic
    CommandClickEventArgs Constructor(C1Command,ClickSourceEnum,C1CommandLink,ContextInfo)
    In This Topic
    Initializes a new instance of the CommandClickEventArgs class
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal command As C1Command, _
       ByVal clickSource As ClickSourceEnum, _
       ByVal callerLink As C1CommandLink, _
       ByVal contextInfo As ContextInfo _
    )
    public CommandClickEventArgs( 
       C1Command command,
       ClickSourceEnum clickSource,
       C1CommandLink callerLink,
       ContextInfo contextInfo
    )

    Parameters

    command
    The command invoked by the user.
    clickSource
    Determines what caused the click event to occur.
    callerLink
    Gets the command link which was clicked by the user.
    contextInfo
    Gets the context info for events fired from a context menu.
    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