Event arguments for events that refer to a Cell.
Constructors
CellEventArgs
#Initializes a new instance of the CellEventArgs class.
CellEventArgs
#obsoleteUse constructor with column number and control
Initializes a new instance of the CellEventArgs class.
Parameters:
| grid (Grid) | Grid the event is triggered for. |
| cell (Cell) | Cell the event is triggered for. |
| row (int) | Row for the cell. |
| item (object) | Item the cell is displaying. |
| cellState (CellStates) | State of the cell. |
CellEventArgs
#obsoleteUse overload that passes the custom cell these arguments are for
Initializes a new instance of the CellEventArgs class.
Parameters:
| row (int) | Row for the cell. |
| item (object) | Item the cell is displaying. |
| cellState (CellStates) | State of the cell. |
Properties
CellTextColor
#Gets or sets the preferred color of the cell text given its state.
Value: The preferred color of cell text.
Control
#Gets the custom control associated with the cell (if any)
Value: Instance of the control for the cell
Handled
#Gets or sets a value indicating that the default behavior should not be executed for the event, if supported.
Remarks: Note that not all events can be handled.
Value: True if the event is user-handled, false to use system behavior.
IsEditing
#Gets or sets a value indicating whether the cell is in edit mode.
Value:
true if the cell is in edit mode; otherwise, false.IsSelected
#Gets or sets a value indicating whether the cell is selected.
Value:
true if the cell is selected; otherwise, false.