Back to Devexpress

GridLevelNode.Find(BaseView) Method

windowsforms-devexpress-dot-xtragrid-dot-gridlevelnode-dot-find-x28-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-x29.md

latest2.0 KB
Original Source

GridLevelNode.Find(BaseView) Method

Searches for the node that refers to the specified View.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public GridLevelNode Find(
    BaseView template
)
vb
Public Function Find(
    template As BaseView
) As GridLevelNode

Parameters

NameTypeDescription
templateBaseView

A BaseView descendant representing the referenced View.

|

Returns

TypeDescription
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

LevelTemplate

GridLevelNode Class

GridLevelNode Members

DevExpress.XtraGrid Namespace