BarManager.Bars Property
In This Article
Gets the bar collection of the BarManager.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
[XtraSerializableProperty(XtraSerializationVisibility.Collection, true, false, false, 1, XtraSerializationFlags.None)]
public BarCollection Bars { get; }
#Property Value
Type | Description |
---|---|
Bar |
The Bar |
#Remarks
Use the Bars property to access, add or delete bars from the BarManager.
Once a bar has been created, it must be added to the Bars collection. In addition, the bar must be associated with a specific bar container that will display this bar. To associate a bar with a container, use the Bar.DockInfo property.
See Also