Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridLevelNodeCollection.Item[String] Property

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.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