ComponentOne Ribbon for WinForms
ShowContextMenu(Point,LeftRightAlignment) Method

C1.Win.C1Ribbon.4 Assembly > C1.Win.C1Ribbon Namespace > C1Ribbon Class > ShowContextMenu Method : ShowContextMenu(Point,LeftRightAlignment) 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.
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 _
) 
public void ShowContextMenu( 
   System.Drawing.Point pt,
   System.Windows.Forms.LeftRightAlignment alignment
)

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.
See Also

Reference

C1Ribbon Class
C1Ribbon Members
Overload List