Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1Ribbon Class / ShowContextMenu Method / ShowContextMenu(Point,RibbonItem) Method
The upper-left (upper-right for RTL mode) corner of the contextual menu in screen coordinates.
Specifies the ribbon item for which the context menu is shown, this parameter uses when the item is on a dropdown form.

In This Topic
    ShowContextMenu(Point,RibbonItem) Method
    In This Topic
    Displays the contextual menu at the specified screen position.
    Syntax
    'Declaration
     
    
    Public Overloads Sub ShowContextMenu( _
       ByVal pt As Point, _
       Optional ByVal item As RibbonItem _
    ) 
    public void ShowContextMenu( 
       Point pt,
       RibbonItem item
    )

    Parameters

    pt
    The upper-left (upper-right for RTL mode) corner of the contextual menu in screen coordinates.
    item
    Specifies the ribbon item for which the context menu is shown, this parameter uses when the item is on a dropdown form.
    See Also