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

GridLevelNode.Find(BaseView) Method

Searches for the node that refers to the specified View.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public GridLevelNode Find(
    BaseView template
)

#Parameters

Name Type Description
template BaseView

A BaseView descendant representing the referenced View.

#Returns

Type Description
GridLevelNode

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

#Remarks

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

See Also