Back to Devexpress

Bar.Manager Property

windowsforms-devexpress-dot-xtrabars-dot-bar-5f47b6d1.md

latest1.7 KB
Original Source

Bar.Manager Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public BarManager Manager { get; set; }
vb
<Browsable(False)>
Public Property Manager As BarManager

Property Value

TypeDescription
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

BarManager

BarName

Bar Class

Bar Members

DevExpress.XtraBars Namespace