DockManager.Item[Int32] Property

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll

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