Back to Devexpress

GridLevelTree.LevelTemplate Property

windowsforms-devexpress-dot-xtragrid-dot-gridleveltree.md

latest1.6 KB
Original Source

GridLevelTree.LevelTemplate Property

Gets the main View of the grid control.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public override BaseView LevelTemplate { get; set; }
vb
<Browsable(False)>
Public Overrides Property LevelTemplate As BaseView

Property Value

TypeDescription
BaseView

A BaseView object representing the grid’s main View.

|

Remarks

The LevelTemplate property returns the same value (view) as the grid’s GridControl.MainView property. This View is used to display the top level data specified by the grid’s GridControl.DataSource and GridControl.DataMember properties.

See Also

GridLevelTree Class

GridLevelTree Members

DevExpress.XtraGrid Namespace