PopupMenu.ShowPopup(BarManager, Point) Method
In This Article
Displays the context menu at the specified position.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public override void ShowPopup(
BarManager manager,
Point p
)
#Parameters
Name | Type | Description |
---|---|---|
manager | Bar |
A Bar |
p | Point | A Point specifying the screen point at which the context menu is shown. |
#Remarks
You can display a RibbonMiniToolbar and a popup menu simultaneously. First, assign a popup menu to a toolbar via the RibbonMiniToolbar.PopupMenu property, or assign a toolbar to a popup menu via the PopupMenu.RibbonToolbar property. Then call the RibbonMiniToolbar.Show or the PopupMenu.ShowPopup method.
See Also