ReadOnlyPanelCollection.Item[String] Property

Gets the dock panel which has the specified name.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Parameters

Name Type Description
name String

A String value specifying the name of the dock panel to find.

Property Value

Type Description
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