Skip to main content

GridLevelNodeCollection.Contains(String) Method

Returns a Boolean value indicating whether the current collection contains a node that refers to the specified relationship.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public bool Contains(
    string relationName
)

Parameters

Name Type Description
relationName String

A string representing the name of the relationship to locate in the collection.

Returns

Type Description
Boolean

true if the collection contains a node which refers to the specified relationship; otherwise, false.

Remarks

This method returns true if the collection contains a node whose GridLevelNode.RelationName property matches the specified relationship’s name. Otherwise, this method returns false.

See Also