windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-9f18237d.md
Gets a value indicating whether the View is in the default state.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[Browsable(false)]
public override bool IsDefaultState { get; }
<Browsable(False)>
Public Overrides ReadOnly Property IsDefaultState As Boolean
| Type | Description |
|---|---|
| Boolean |
true if no operation is being performed by end-users; otherwise, false.
|
This property overrides the BaseView.IsDefaultState property. It returns true if the end-user is not sizing or dragging a View element or editing a cell value etc. Note that this property value depends on the GridView.State property. The IsDefaultState property returns true only when the GridView.State property value is GridState.Normal. (The BandedGridView.State property is used for Banded Grid Views).
The IsDefaultState property can be used to see whether particular operations are allowed. For instance, you may suspend some custom View operations if the View is not currently in its default state.
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