Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseView.DetailLevel Property

Gets the nesting level of a View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[Browsable(false)]
public virtual int DetailLevel { get; }

#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