Skip to main content

GridLevelTree Class

Represents a root node in the tree-like structure that associates master-detail relationships with pattern Views.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public class GridLevelTree :
    GridLevelNode

The following members return GridLevelTree objects:

Remarks

The grid control’s GridControl.LevelTree property refers to a tree-like structure that associates master-detail relationships with pattern Views. Each node in this structure (except for the root node) represents an instance of the GridLevelNode class. The root node is represented by a GridLevelTree object. Note that the GridControl.LevelTree property already refers to the root node.

The root node doesn’t represent any master-detail relationship. The relationships are represented only by the root node’s children which can be accessed via the root node’s GridLevelNode.Nodes collection. The root node simply points to the grid’s main view, i.e. its GridLevelTree.LevelTemplate property returns the same value as the GridControl.MainView property.

Inheritance

Object
GridLevelNode
GridLevelTree
See Also