Ribbon for WinForms
ShowContextMenu(Point,LeftRightAlignment,RibbonItem) メソッド

C1.Win.Ribbon.4.5.2 アセンブリ > C1.Win.Ribbon 名前空間 > C1Ribbon クラス > ShowContextMenu メソッド : ShowContextMenu(Point,LeftRightAlignment,RibbonItem) メソッド
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.
Displays the contextual menu at the specified screen position.
シンタックス
'宣言
 
Public Overloads Sub ShowContextMenu( _
   ByVal pt As Point, _
   ByVal alignment As LeftRightAlignment, _
   Optional ByVal item As RibbonItem _
) 
public void ShowContextMenu( 
   Point pt,
   LeftRightAlignment alignment,
   RibbonItem item
)

パラメータ

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.
参照

C1Ribbon クラス
C1Ribbon メンバ
オーバーロード一覧