Skip to main content

BaseView.IsDetailView Property

Gets a value indicating whether the current View is a detail View.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid

Declaration

[Browsable(false)]
public virtual bool IsDetailView { get; }

Property Value

Type Description
Boolean

true if the current View is a detail View; otherwise, false.

Remarks

The return value of the IsDetailView property indicates whether a View has a parent View. Thus, it returns false for the GridControl.MainView which has a zero nesting level and for detail pattern Views. For detail clone Views, the property returns true.

To obtain the nested level of a view, use the BaseView.DetailLevel property.

See Also