Skip to main content
A newer version of this page is available. .
Bar

PopupMenuBase.Manager Property

Specifies the BarManager responsible for managing the PopupMenuBase object.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Manager")]
public virtual BarManager Manager { get; set; }

Property Value

Type Description
BarManager

A BarManager responsible for managing the PopupMenuBase object.

Remarks

For the PopupMenuBase object to work correctly, it must be bound to a BarManager or RibbonControl object. If the menu is not bound to the BarManager/RibbonControl, the menu is not displayed. Items displayed by the popup menu belong to the bound BarManager/RibbonControl.

When you drop a popup menu to a form at design time, it searches for a Bar Manager or Ribbon Control within this form. If any of these objects is found, the popup menu is bound to it. When creating a popup menu at runtime, you need to manually bind the menu to the BarManager/Ribbon Control via the menu’s constructor, the Manager or PopupMenuBase.Ribbon property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Manager property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also