Class NoxGridCellEventArgs
Data for cell events (row, column and, for CellValueChanged, the reason).
public class NoxGridCellEventArgs : EventArgs
- Inheritance
-
NoxGridCellEventArgs
- Inherited Members
Constructors
NoxGridCellEventArgs(int, int, NoxGridColumn)
Creates the event data.
public NoxGridCellEventArgs(int rowIndex, int columnIndex, NoxGridColumn column)
Parameters
rowIndexintcolumnIndexintcolumnNoxGridColumn
Properties
Column
The column (Nothing for a row header).
public NoxGridColumn Column { get; }
Property Value
ColumnIndex
Column index (Columns order; -1 for a row header).
public int ColumnIndex { get; }
Property Value
IsNested
CellValueChanged: True when this change was made inside another CellValueChanged handler (for example a computed column set
after the user typed a quantity). Reason stays the reason of the first change. Skip such changes with If e.IsNested Then Return.
public bool IsNested { get; }
Property Value
Reason
CellValueChanged: why the value changed (typing, check click, paste, undo, Delete key, replace, or code). A change made by a CellValueChanged handler keeps the reason of the change that started it; see IsNested.
public NoxGridChangeReason Reason { get; }
Property Value
RowIndex
Row index of the cell (-1 for a column header).
public int RowIndex { get; }