Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / ContextMenuPopupEventArgs Class / ContextMenuPopupEventArgs Constructor
The component for which the menu is shown.
The upper-left or upper-right corner of the context menu in screen coordinates.
The value indicating whether this menu is custom.

In This Topic
    ContextMenuPopupEventArgs Constructor
    In This Topic
    Creates a new instance of ContextMenuPopupEventArgs class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal component As Component, _
       ByVal location As Point, _
       ByVal isCustomMenu As Boolean _
    )
    public ContextMenuPopupEventArgs( 
       Component component,
       Point location,
       bool isCustomMenu
    )

    Parameters

    component
    The component for which the menu is shown.
    location
    The upper-left or upper-right corner of the context menu in screen coordinates.
    isCustomMenu
    The value indicating whether this menu is custom.
    See Also