CardView.State Property

Obtains the View's current state.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v20.1.dll


public CardState State { get; }
Public ReadOnly Property State As CardState

Property Value

Type Description

A CardState enumeration member indicating the View's current state.


Use this property to determine which action is being performed by the end-user. Refer to the CardState enumeration description for a list of all available actions.

An example of using the State property can include suspension of a given operation until the end-user completes an action against the grid control. For instance, you may need to display a notification message and suspend it if the user is performing a dragging operation at a given moment in time.


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

See Also