Class NoxGridCell
A single cell
public sealed class NoxGridCell
- Inheritance
-
NoxGridCell
- Inherited Members
Properties
Alignment
Horizontal alignment (Nothing uses the column Alignment).
public HorizontalAlignment? Alignment { get; set; }
Property Value
BackColor
Cell background color (empty uses the row, column or grid setting).
public Color BackColor { get; set; }
Property Value
Bold
Bold text in this cell.
public bool Bold { get; set; }
Property Value
BorderColor
Border color (empty uses dark gray).
public Color BorderColor { get; set; }
Property Value
BorderWidth
Border width (px; 0 means 1).
public int BorderWidth { get; set; }
Property Value
Borders
Border sides (NoxBorders.All, Bottom, etc.)
public NoxBorders Borders { get; set; }
Property Value
ColumnIndex
Column index of the cell.
public int ColumnIndex { get; }
Property Value
ComboItems
Combo column: the list for this cell only (strings or objects; the column's DisplayMember and ValueMember apply). Null uses the column list. It follows the row when rows are sorted, inserted or removed.
public IEnumerable ComboItems { get; set; }
Property Value
EditableWhenGridReadOnly
Lets this cell be edited even when the grid ReadOnly is True (column, row and cell ReadOnly still apply).
public bool EditableWhenGridReadOnly { get; set; }
Property Value
FontSize
Font size (pt). 0 uses the grid font size.
public float FontSize { get; set; }
Property Value
ForeColor
Cell text color (empty uses the row, column or grid setting).
public Color ForeColor { get; set; }
Property Value
FormattedValue
Display text with the column Format applied
public string FormattedValue { get; }
Property Value
Formula
Formula ("=SUM(A1:A3)"). Nothing if there is no formula. Setting it puts the formula; an empty string removes it.
public string Formula { get; set; }
Property Value
HasFormula
Gets whether the cell has a formula.
public bool HasFormula { get; }
Property Value
IsMerged
Whether the cell belongs to a merged area (explicit merge)
public bool IsMerged { get; }
Property Value
Italic
Italic text in this cell.
public bool Italic { get; set; }
Property Value
Locked
Makes only this cell read-only.
public bool Locked { get; set; }
Property Value
OwningColumn
Column of the cell.
public NoxGridColumn OwningColumn { get; }
Property Value
ReadOnly
True if the grid, row, column, cell or data source is read-only.
public bool ReadOnly { get; }
Property Value
RowIndex
Row of the cell.
public int RowIndex { get; }
Property Value
Selected
Whether the cell is selected.
public bool Selected { get; }
Property Value
SelectionBackColor
Background color while the cell is selected (empty uses the grid SelectionBackColor).
public Color SelectionBackColor { get; set; }
Property Value
SelectionForeColor
Text color while the cell is selected. Takes priority over every other text color (empty: normal rules).
public Color SelectionForeColor { get; set; }
Property Value
Strikeout
Strikeout
public bool Strikeout { get; set; }
Property Value
Tag
Arbitrary user data
public object Tag { get; set; }
Property Value
Text
Display text. Setting it converts the text to the column type and stores the value (e.g. "1,234" → 1234).
public string Text { get; set; }
Property Value
ToolTipText
Tooltip shown when the mouse is over this cell (empty: the default, i.e. truncated text). A validation error is shown first.
public string ToolTipText { get; set; }
Property Value
Underline
Underlined text in this cell.
public bool Underline { get; set; }
Property Value
Value
Value of the cell.
public object Value { get; set; }
Property Value
VerticalAlignment
Vertical alignment (Nothing uses the column VerticalAlignment).
public NoxVerticalAlignment? VerticalAlignment { get; set; }
Property Value
WrapText
Word wrap (Nothing uses the column WrapText).
public bool? WrapText { get; set; }
Property Value
- bool?