# GC.Spread.Sheets.CellStatesType

## Content

# Enumeration: CellStatesType

[Spread](../modules/GC.Spread).[Sheets](../modules/GC.Spread.Sheets).CellStatesType

Specifies the type of CellState.

## Table of contents

### Enumeration members

- [active](GC.Spread.Sheets.CellStatesType#active)
- [dirty](GC.Spread.Sheets.CellStatesType#dirty)
- [edit](GC.Spread.Sheets.CellStatesType#edit)
- [hover](GC.Spread.Sheets.CellStatesType#hover)
- [invalid](GC.Spread.Sheets.CellStatesType#invalid)
- [invalidFormula](GC.Spread.Sheets.CellStatesType#invalidformula)
- [readonly](GC.Spread.Sheets.CellStatesType#readonly)
- [selected](GC.Spread.Sheets.CellStatesType#selected)

## Enumeration members

### <a id="active" name="active"></a> active

• **active** = `16`

When the cell is focus, cell state include "active" state.

___

### <a id="dirty" name="dirty"></a> dirty

• **dirty** = `64`

When cell value is changed, cell state include "dirty" state.

___

### <a id="edit" name="edit"></a> edit

• **edit** = `8`

When the cell is editing, cell state include "edit" state.

___

### <a id="hover" name="hover"></a> hover

• **hover** = `1`

When mouse hover on the cell , cell state include "hover" state.

___

### <a id="invalid" name="invalid"></a> invalid

• **invalid** = `2`

When the data-validation conditional evaluate fail, cell state include "invalid" state.

___

### <a id="invalidformula" name="invalidformula"></a> invalidFormula

• **invalidFormula** = `128`

When cell value is invalid formula string, cell state include "invalidFormula" state.

___

### <a id="readonly" name="readonly"></a> readonly

• **readonly** = `4`

When the cell is locked in protect worksheet , cell state include "readonly" state.

___

### <a id="selected" name="selected"></a> selected

• **selected** = `32`

When the cell is in the selection range, cell state include "selected" state.
