GridLevelNodeCollection.Item[String] Property

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

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