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

Bar.Manager Property

Gets or sets a value representing the Bar Manager that owns this bar.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public BarManager Manager { get; set; }

#Property Value

Type Description
BarManager

A BarManager object representing the Bar Manager owning this bar.

#Remarks

Use the BarManager property to access the Bar Manager owning this bar. You can also use it to assign the bar to a manager, if it has not yet been assigned. When assigning, the Bar Manager generates the new name for the bar. This name is assigned to the Bar.BarName property of the bar.

If a bar has already been assigned to a manager, setting the BarManager property is not in effect.

Note: a bar may not be assigned to a Bar Manager only if it has been created at runtime using the constructor without parameters.

See Also