Back to Devexpress

GridLevelTree Class

windowsforms-devexpress-dot-xtragrid-942e73a5.md

latest2.5 KB
Original Source

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

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

Declaration

csharp
public class GridLevelTree :
    GridLevelNode
vb
Public Class GridLevelTree
    Inherits 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

GridLevelTree Members

LevelTree

DevExpress.XtraGrid Namespace