Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupMenu.ShowPopup(BarManager, Point) Method

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 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