Class NoxGridCellFormattingEventArgs
Adjustment just before a cell is displayed (conditional formatting).
public class NoxGridCellFormattingEventArgs : EventArgs
- Inheritance
-
NoxGridCellFormattingEventArgs
- Inherited Members
Constructors
NoxGridCellFormattingEventArgs(int, NoxGridColumn, object, string, Color, Color)
Creates the event data.
public NoxGridCellFormattingEventArgs(int rowIndex, NoxGridColumn column, object value, string formattedValue, Color backColor, Color foreColor)
Parameters
rowIndexintcolumnNoxGridColumnvalueobjectformattedValuestringbackColorColorforeColorColor
Properties
BackColor
Background color. Change it to color the cell.
public Color BackColor { get; set; }
Property Value
Bold
Bold text
public bool Bold { get; set; }
Property Value
Column
The column (Nothing for a row header).
public NoxGridColumn Column { get; }
Property Value
ForeColor
Text color.
public Color ForeColor { get; set; }
Property Value
FormattedValue
Text to show. Change it to show different text (the value stays).
public string FormattedValue { get; set; }
Property Value
RowIndex
Row index of the cell (-1 for a column header).
public int RowIndex { get; }
Property Value
Selected
Whether the cell is selected. BackColor is ignored for selected cells; use SelectionBackColor.
public bool Selected { get; }
Property Value
SelectionBackColor
Background color when selected (starts with the cell SelectionBackColor; empty uses the grid SelectionBackColor).
public Color SelectionBackColor { get; set; }
Property Value
SelectionForeColor
Text color when selected. Takes priority over ForeColor (starts with the cell SelectionForeColor; empty: normal rules).
public Color SelectionForeColor { get; set; }
Property Value
Value
The cell value.
public object Value { get; }