Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockManager.Count Property

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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