Back to Devexpress

DockManager.Item[String] Property

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

latest1.8 KB
Original Source

DockManager.Item[String] Property

Provides indexed access to the panels which belong to the dock manager by their names.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public DockPanel this[string name] { get; }
vb
Public ReadOnly Property Item(name As String) As DockPanel

Parameters

NameTypeDescription
nameString

A String value specifying the panel’s name.

|

Property Value

TypeDescription
DockPanel

A DockPanel object representing the panel with the specified name. null ( Nothing in Visual Basic) if no panel is found.

|

Remarks

This property provides access to dock panels using index notation, the panel’s name is the parameter. The overloaded Item property can also be used to access dock panels by specifying their position within the dock panel collection of a dock manager.

See Also

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace