Table of Contents

Class NoxGridCellEventArgs

Namespace
Nox.Grid.WinForms
Assembly
Nox.Grid.WinForms.dll

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

rowIndex int
columnIndex int
column NoxGridColumn

Properties

Column

The column (Nothing for a row header).

public NoxGridColumn Column { get; }

Property Value

NoxGridColumn

ColumnIndex

Column index (Columns order; -1 for a row header).

public int ColumnIndex { get; }

Property Value

int

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

bool

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

NoxGridChangeReason

RowIndex

Row index of the cell (-1 for a column header).

public int RowIndex { get; }

Property Value

int