Skip to main content

GridLevelNodeCollection.Item[String] Property

Gets a node by the name of the relationship which it represents.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public GridLevelNode this[string relationName] { get; }

Parameters

Name Type Description
relationName String

The name of the relationship to locate.

Property Value

Type Description
GridLevelNode

A GridLevelNode object representing the collection item whose GridLevelTree.RelationName property matches the specified value. null if no item is found.

Remarks

This property scans the collection starting from the first element and returns the element whose GridLevelTree.RelationName property value matches the parameter’s value. If no such element is found, null is returned.

See Also