CardView.State Property

Obtains the View's current state.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
public CardState State { get; }
<Browsable(False)>
Public ReadOnly Property State As CardState

Property Value

Type Description
CardState

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

Remarks

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.

NOTE

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