Table of Contents

Class NoxGridCellCancelEventArgs

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

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

rowIndex 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

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

bool

RowIndex

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

public int RowIndex { get; }

Property Value

int

StartReason

CellBeginEdit: what opened the edit box (typing, F2, double-click, click, code ...). Set Cancel to refuse by reason.

public NoxGridEditStartReason StartReason { get; }

Property Value

NoxGridEditStartReason