Class NoxGridCellCancelEventArgs
Data for cell events that can be cancelled (CellBeginEdit and others).
public class NoxGridCellCancelEventArgs : CancelEventArgs
- Inheritance
-
NoxGridCellCancelEventArgs
- Derived
- Inherited Members
Constructors
NoxGridCellCancelEventArgs(int, NoxGridColumn)
Creates the event data.
public NoxGridCellCancelEventArgs(int rowIndex, NoxGridColumn column)
Parameters
rowIndexintcolumnNoxGridColumn
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
IsReadOnlyEdit
CellBeginEdit: True when the edit box opens read-only for selecting and copying (ReadOnlyMode = Selectable); the value will not change.
public bool IsReadOnlyEdit { get; }
Property Value
RowIndex
Row index of the cell (-1 for a column header).
public int RowIndex { get; }
Property Value
StartReason
CellBeginEdit: what opened the edit box (typing, F2, double-click, click, code ...). Set Cancel to refuse by reason.
public NoxGridEditStartReason StartReason { get; }