Skip to main content

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

RibbonControl.Manager Property

Gets or sets the BarManager that manages bar items displayed by the RibbonControl.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

#Declaration

public BarManager Manager { get; }

#Property Value

Type Description
BarManager

A BarManager object.

#Remarks

Commands, submenus, static text, editors and other in-ribbon elements are represented by corresponding bar item objects. For these objects to be displayed within a RibbonControl and RibbonStatusBarControl, they first must be created within a BarManager object, which represents a storage of bar items. The RibbonControl and RibbonStatusBarControl must be children of this BarManager, i.e. must be declared in XAML between the BarManager start and end tags.

The Manager property is initialized automatically with the BarManager object that is the RibbonControl’s parent.

See Also