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.2.dll

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