Skip to main content

GridState Enum

Contains values indicating all available Grid View states.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public enum GridState

Members

Name Description
Normal

The View is in its normal state. No specific action is being performed by the end-user.

ColumnSizing

A column’s right edge is being dragged to change the column’s width. The desired column’s OptionsColumn.AllowSize option must be enabled to allow such resizing.

Editing

A cell editor is presently active.

ColumnDragging

A column header is being dragged. The desired column’s OptionsColumn.AllowMove and View’s GridOptionsCustomization.AllowColumnMoving options must be enabled to allow column header dragging (the default behavior).

ColumnDown

A column header is presently pressed.

ColumnFilterDown

A filter button is presently pressed.

GroupPanelFindPanelButtonPressed

The Find panel’s Find button is pressed.

RowDetailSizing

A detail clone View’s bottom edge is being dragged to resize the View vertically.

FilterPanelCloseButtonPressed

A filter close button is pressed.

ColumnButtonDown

The header panel button is presently pressed.

RowSizing

A data row’s bottom edge is being dragged to change row height. The View’s GridOptionsCustomization.AllowRowSizing option must be enabled to allow such resizing operations.

IncrementalSearch

Incremental search is being performed.

Selection

Multiple rows are being selected using drag and drop. End-users must click an indicator cell and drag the mouse for this purpose. The ColumnViewOptionsSelection.MultiSelect option must be enabled to allow such selections.

FilterPanelActiveButtonPressed

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.

FilterPanelTextPressed

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.

FilterPanelMRUButtonPressed

The button which is used to display a dropdown window with a list of the most recently used filter criteria is pressed.

FilterPanelCustomizeButtonPressed

A filter panel customize button is pressed.

CellSelection

Multiple cells are being selected by an end-user via a mouse. The GridOptionsSelection.MultiSelectMode property must be set to the GridMultiSelectMode.CellSelect value to make this operation available.

Scrolling

A View is being scrolled. This implies that an end-user depresses the mouse wheel and moves the mouse to scroll the View’s contents.

ColumnHeaderSearchButtonDown

A column header search button is pressed.

GroupPanelColumnHeaderSearchButtonDown

The Search button displayed within the group panel is pressed.

HeaderSearchEditing

The user types within the column header (in column header search).

ColumnHeaderSearchTextDown

Reserved for future use.

GroupPanelColumnHeaderSearchTextDown

Reserved for future use.

Unknown

An unknown action is being performed within the Grid View.

Related API Members

The following properties accept/return GridState values:

Remarks

Values listed by this enumeration are returned by the GridView.State property.

See Also