GridRowCellState Enum
Contains row cell states for the Grid Control’s appearance customization events.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v18.1.dll
Declaration
Members
Name | Description |
---|---|
Dirty
|
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Default
|
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Selected
|
Specifies that the row/cell being currently processed is selected. |
Focused
|
Specifies that the current row is focused. |
FocusedCell
|
Specifies that the cell being currently processed is focused. |
Even
|
Specifies that the current row has an even row handle. |
Odd
|
Specifies that the current row has an odd row handle. |
GridFocused
|
Specifies that the grid control is focused. |
FocusedAndGridFocused
|
Specifies that the grid control has focus and the grid’s row being currently processed is focused. |
Related API Members
The following properties accept/return GridRowCellState values:
Remarks
The GridRowCellState enumeration contains row cell states for the Grid Control’s appearance customization events. When handling an appearance customization event (for instance, GridView.RowStyle, GridView.CustomDrawCell, etc) you can read its State parameter to customize the appearance settings of the painted element (a cell or row) depending upon its state.
The GridRowCellState enumeration has the FlagsAttribute attribute that allows a bitwise combination of its member values.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GridRowCellState enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.