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.Item[Int32] Property

Provides indexed access to the panels which belong to the dock manager.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public DockPanel this[int index] { get; }

#Parameters

Name Type Description
index Int32

A zero-based index specifying the panel to be returned.

#Property Value

Type Description
DockPanel

A DockPanel object representing the panel at the specified position.

#Remarks

Use this indexer to access all the panels that belong to the dock manager. These panels can also be accessed via the DockManager.Panels collection. The DockManager.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 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