Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1Ribbon Class / ContextMenuPopup Event

In This Topic
    ContextMenuPopup Event (C1Ribbon)
    In This Topic
    Occurs before the contextual menu is displayed.
    Syntax
    'Declaration
     
    
    Public Event ContextMenuPopup As EventHandler(Of ContextMenuPopupEventArgs)
    public event EventHandler<ContextMenuPopupEventArgs> ContextMenuPopup
    Event Data

    The event handler receives an argument of type ContextMenuPopupEventArgs containing data related to this event. The following ContextMenuPopupEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the component for which the menu is shown.  
    Gets a value indicating whether this menu is custom.  
    Gets the upper-left or upper-right corner of the context menu in screen coordinates.  
    Gets or sets a value indicating to use a custom context menu instead of the standard.  
    See Also