Back to Devexpress

BaseView.IsDefaultState Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-58871f57.md

latest3.2 KB
Original Source

BaseView.IsDefaultState Property

Gets a value indicating whether the View is in normal state.

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 bool IsDefaultState { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property IsDefaultState As Boolean

Property Value

TypeDescription
Boolean

true always.

|

Remarks

The IsDefaultState property indicates whether the View is in the normal state. This implies that the end-user is not performing any action at the moment. As implemented in the BaseView class, the IsDefaultState property always returns true. Descendant classes override this property as required.

Note

Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the IsDefaultState member must not be invoked for these Views. The IsDefaultState member can only be used with Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also

IsDraggingState

IsEditing

IsSizingState

GridView.State

CardView.State

BandedGridView.State

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace