ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / ClickEventArgs Class / ClickEventArgs Constructor
Determines whether the click event was caused by a menu selection, shortcut key, or other means.
Gets the command link which caused the click event to occur.
Gets the context info for clicks which originated in a context menu.

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

    Parameters

    clickSource
    Determines whether the click event was caused by a menu selection, shortcut key, or other means.
    callerLink
    Gets the command link which caused the click event to occur.
    contextInfo
    Gets the context info for clicks which originated in 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