Bar

BarDockControl.Controls Property

Gets the collection of controls contained within the bar dock control.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public Control.ControlCollection Controls { get; }
<Browsable(False)>
Public ReadOnly Property Controls As Control.ControlCollection

Property Value

Type Description
Control.ControlCollection

A Control.ControlCollection object which represents the collection of controls contained within the bar dock control.

Remarks

Use the Controls property to access bars that are displayed within the bar dock control.

A bar is displayed within a bar dock control using a helper DevExpress.XtraBars.Controls.DockedBarControl control. The Controls property stores a collection of DevExpress.XtraBars.Controls.DockedBarControl controls, each of which refers to a corresponding bar via the DevExpress.XtraBars.Controls.DockedBarControl.Bar property.

See Also