Specifying Cell Status Values
In This Topic
List for WinForms recognizes 16 distinct cell status values which are used in code to indicate the disposition of a cell. A cell status value is a combination of four separate conditions. These conditions are enumerations that have the
flag attribute, which means that they can be combined with the
Or operator:
Condition |
Description |
Current Cell |
The cell is the current cell as specified by the Bookmark, Col, and Split properties. At any given time, only one cell can have this status. |
Marquee Row |
The cell is part of a highlighted row marquee. |
Selected Row |
The cell is part of a row selected by the user or in code. The SelectedRowCollection contains a bookmark for each selected row. |
List for WinForms defines the following constants corresponding to these cell conditions:
Constant |
Description |
CurrentCell |
Applies to the current cell |
MarqueeRow |
Applies to cells in a highlighted row marquee |
SelectedRow |
Applies to cells in a selected row |
List for WinForms also defines the following constants, which are
not meant to be combined with those listed earlier:
Constant |
Description |
AllCells |
Applies to all cells |
NormalCell |
Applies to cells without status conditions |
Use AllCells to refer to all cells regardless of status. Use NormalCell to refer to only those cells without any of the three basic cell conditions described earlier.