Back to Devexpress

GridLevelNode.Find(String) Method

windowsforms-devexpress-dot-xtragrid-dot-gridlevelnode-dot-find-x28-system-dot-string-x29.md

latest1.9 KB
Original Source

GridLevelNode.Find(String) Method

Searches for the node that refers to the specified relationship.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public GridLevelNode Find(
    string relationName
)
vb
Public Function Find(
    relationName As String
) As GridLevelNode

Parameters

NameTypeDescription
relationNameString

A string representing the referenced relationship.

|

Returns

TypeDescription
GridLevelNode

A GridLevelNode object that refers to the specified relationship; null if no node is found.

|

Remarks

If the current node’s GridLevelNode.RelationName property refers to the specified relationship, the Find method returns the current node. Otherwise, this method performs a recursive search through the child nodes of the node that this method was called from for a node that refers to the specified relationship. If there isn’t any node found with a reference to the specified relationship null is returned.

See Also

GridLevelNode Class

GridLevelNode Members

DevExpress.XtraGrid Namespace