Back to Devexpress

ReadOnlyPanelCollection.Item[String] Property

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

latest1.9 KB
Original Source

ReadOnlyPanelCollection.Item[String] Property

Gets the dock panel which has the specified name.

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 name of the dock panel to find.

|

Property Value

TypeDescription
DockPanel

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

|

Remarks

This method traverses through the collection and compares the parameter’s value with the Name property of each visited dock panel. If these values are equal, then the method returns the dock panel found.

See Also

Contains(DockPanel)

ReadOnlyPanelCollection Class

ReadOnlyPanelCollection Members

DevExpress.XtraBars.Docking Namespace