BandedGridView.State Property
Gets the View’s current state.
Namespace: DevExpress.XtraGrid.Views.BandedGrid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[Browsable(false)]
public BandedGridState State { get; }
#Property Value
Type | Description |
---|---|
Banded |
A Banded |
Available values:
Name | Description |
---|---|
Normal | No specific action is being performed within a View. |
Column |
A column is being resized by the end-user. This implies that the column header’s right edge is being dragged. This operation is available only for columns whose Options |
Editing | A cell editor is active at the moment. |
Column |
A column header is being dragged by the end-user. The column’s Options |
Column |
A column header is pressed. |
Column |
A column’s filter button is pressed. |
Group |
The Find button in the group panel is pressed. |
Row |
A detail View’s clone is being resized by the end-user. This implies that the detail’s bottom edge is being dragged. |
Filter |
A filter close button is pressed. |
Column |
A header panel button is pressed. |
Row |
A data row is being resized by the end-user. This implies that the corresponding indicator cell’s bottom edge is being dragged. The Grid |
Incremental |
The incremental search is being performed. |
Selection | Multiple rows are being selected using the dragging operation. This implies that the end-user presses an indicator cell corresponding to the selection start and drags the mouse to the selection end. The Column |
Filter |
A check box residing in a filter panel is pressed. This implies that the filter criteria applied to a View is going to be enabled or disabled. |
Filter |
The string in the filter panel which represents the filter criteria applied to a View is pressed. This shows/hides a dropdown window with a list of the most recently used filter criteria. |
Filter |
The button which is used to display a dropdown window with a list of the most recently used filter criteria is pressed. |
Filter |
A filter panel customize button is pressed. |
Cell |
Multiple cells are being selected by an end-user using the mouse. The Grid |
Scrolling | A View is being scrolled. This implies that an end-user has depressed the mouse wheel and is moving the mouse to scroll the View’s contents. |
Column |
The search button in a column header is pressed. |
Group |
The search button in a grouped column header is pressed. |
Header |
The user types within the column header (in column header search). See In |
Column |
The search text in a column header is pressed. |
Group |
The search text in a grouped column header is pressed. |
Unknown | An unknown action is being performed within a View. |
Band |
A band is being resized by the end-user. This implies that the band header’s right edge is being dragged. This operation is available only for bands whose Options |
Band |
A band header is being dragged by the end-user. The band’s Options |
Band |
A band header is pressed. |
#Remarks
Use this property to determine which action is being performed by the end-user. Refer to the BandedGridStateenumeration description for a list of all available states.
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 while the user is performing a dragging operation.