Skip to main content
A newer version of this page is available. .

GridRowCellState Enum

Contains row cell states for the Grid Control’s appearance customization events.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[Flags]
public enum GridRowCellState

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.

See Also