Skip to main content

ReadOnlyPanelCollection.Item[String] Property

Gets the dock panel which has the specified name.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public DockPanel this[string name] { get; }

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