FlexChart | ComponentOne
C1.Win.Ribbon.8 Assembly / C1.Win.Ribbon Namespace / C1Ribbon Class / ShowContextMenu Method / ShowContextMenu(Point,LeftRightAlignment,RibbonItem) Method
The upper-left or upper-right corner of the contextual menu in screen coordinates.
Specifies the alignment of the control relative to the pos parameter.
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,LeftRightAlignment,RibbonItem) Method
    In This Topic
    Displays the contextual menu at the specified screen position.
    Syntax
    'Declaration
     
    Public Overloads Sub ShowContextMenu( _
       ByVal pt As System.Drawing.Point, _
       ByVal alignment As System.Windows.Forms.LeftRightAlignment, _
       Optional ByVal item As RibbonItem _
    ) 
    public void ShowContextMenu( 
       System.Drawing.Point pt,
       System.Windows.Forms.LeftRightAlignment alignment,
       RibbonItem item
    )

    Parameters

    pt
    The upper-left or upper-right corner of the contextual menu in screen coordinates.
    alignment
    Specifies the alignment of the control relative to the pos parameter.
    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