Skip to main content

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

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