Skip to main content

GridLevelNode(GridLevelTree, String, BaseView) Constructor

Initializes a new instance of the GridLevelNode class with the specified settings.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public GridLevelNode(
    GridLevelTree tree,
    string relationName,
    BaseView template
)

Parameters

Name Type Description
tree GridLevelTree

A GridLevelTree object representing the root node. A value for this parameter can be obtained via the GridControl.LevelTree property.

relationName String

A string specifying the name of the relationship. This value is assigned to the GridLevelNode.RelationName property.

template BaseView

A BaseView descendant representing the pattern view associated with the specified relationship. This value is assigned to the GridLevelNode.LevelTemplate property.

See Also