Event arguments to format a cell in a Grid
Constructors
GridCellFormatEventArgs
#Initializes a new instance of the GridCellFormatEventArgs class.
Parameters:
| column (GridColumn) | Column to format |
| item (object) | Item for the row being formatted |
| row (int) | Row number being formatted |
Properties
ForegroundColor
#Gets or sets the foreground color for the cell contents
Value: The color of the foreground.
Methods
GetRow
#Overridable method to get the row number for this event.
Remarks: This is used for situations when getting the row might be computationally expensive on certain platforms, e.g. with the TreeGridView on Gtk.
Returns: The row for the item to format