Back to Devexpress

BaseView.DetailLevel Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-d2e80948.md

latest1.8 KB
Original Source

BaseView.DetailLevel Property

Gets the nesting level of a View.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public virtual int DetailLevel { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property DetailLevel As Integer

Property Value

TypeDescription
Int32

An integer value representing the nesting level of a View.

|

Remarks

The nesting level of a View is equal to the number of its parent Views in a master-detail hierarchy.

For the GridControl.MainView and detail pattern Views, the DetailLevel property returns 0. For immediate detail Views of the GridControl.MainView, it returns 1 , etc.

See Also

MainView

IsDetailView

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace