ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / ContextInfo Class / ContextInfo Constructor
The control where the context menu was shown.
The location inside the Source control where the context menu was shown.

In This Topic
    ContextInfo Constructor
    In This Topic
    Initializes a new instance of the ContextInfo class
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal source As System.Windows.Forms.Control, _
       ByVal location As System.Drawing.Point _
    )
    public ContextInfo( 
       System.Windows.Forms.Control source,
       System.Drawing.Point location
    )

    Parameters

    source
    The control where the context menu was shown.
    location
    The location inside the Source control where the context menu was shown.
    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