Skip to main content
Bar

PopupMenu.ShowPopup(BarManager, Point) Method

Displays the context menu at the specified position.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void ShowPopup(
    BarManager manager,
    Point p
)

Parameters

Name Type Description
manager BarManager

A BarManager object that is the Bar Manager responsible for managing the context menu.

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