Back to Devexpress

GridRowCellState Enum

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-765451ca.md

latest2.4 KB
Original Source

GridRowCellState Enum

Enumerates values that specifies visual states of cells, rows, and the control.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Flags]
public enum GridRowCellState
vb
<Flags>
Public Enum GridRowCellState

Members

NameDescription
Dirty

For internal use.

| | Default |

For internal use.

| | Selected |

The processed row/cell is selected.

| | Focused |

The processed row is focused.

| | FocusedCell |

The processed cell is focused.

| | Even |

The processed row has an even row handle.

| | Odd |

The processed row has an odd row handle.

| | GridFocused |

The control is focused.

| | FocusedAndGridFocused |

The control and processed row are focused.

| | Hot |

The processed row is hot-tracked.

|

The following properties accept/return GridRowCellState values:

Remarks

The GridRowCellState enumeration contains values that specify visual states of cells, rows, and the control. These states are used in appearance customization events. For example, use the State event argument to get the row state in a GridView.RowStyle event handler.

The enumeration supports a bitwise combination of its members, that is, a row or cell can be in multiple states at the same time. For example, an even row can be selected and focused. See FlagsAttribute.

See Also

RowStyle

DevExpress.XtraGrid.Views.Base Namespace