windowsforms-devexpress-dot-xtrabars-dot-bar-5f47b6d1.md
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
[Browsable(false)]
public BarManager Manager { get; set; }
<Browsable(False)>
Public Property Manager As BarManager
| Type | Description |
|---|---|
| BarManager |
A BarManager object representing the Bar Manager owning this bar.
|
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