Back to Devexpress

DockManager.Item[Int32] Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockmanager-dot-item-x28-system-dot-int32-x29.md

latest2.9 KB
Original Source

DockManager.Item[Int32] Property

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

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public DockPanel this[int index] { get; }
vb
Public ReadOnly Property Item(index As Integer) As DockPanel

Parameters

NameTypeDescription
indexInt32

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

|

Property Value

TypeDescription
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

AutoHideContainers

Count

HiddenPanels

Panels

RootPanels

Item[Int32]

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace