BaseView.IsDetailView Property

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool IsDetailView { get; }
<Browsable(False)>
Public Overridable ReadOnly Property IsDetailView As Boolean

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