BaseView.DetailLevel Property

Gets the nesting level of a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Description
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