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.v20.1.dll

Declaration

public class GridLevelTree :
    GridLevelNode
Public Class GridLevelTree
    Inherits GridLevelNode

Related API Members

The following members accept/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