Skip to main content
A newer version of this page is available. .

DockManager.Count Property

Gets the total number of panels that belong to the dock manager.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

[Browsable(false)]
public int Count { get; }

Property Value

Type Description
Int32

An integer value specifying the number of panels that belong to the dock manager.

Remarks

The DockManager.Item property implements indexer access to the panels that belong to the dock manager. These panels can also be accessed via the DockManager.Panels collection. The Count property returns the number of the panels in the collection. This collection includes the visible, hidden panels and panels which have their auto hide functionality enabled.

To get only the visible floating panels and the panels displayed within the form which are not owned by other panels, use the DockManager.RootPanels property. The DockManager.HiddenPanels collection contains the hidden panels only. To get access to the panels which have their auto hide functionality enabled, the DockManager.AutoHideContainers collection can be used.

See Also