GridViewCellEventArgs

EventArgsReferences
Event arguments for cell-based events of a GridView

Constructors

GridViewCellEventArgs

#
public GridViewCellEventArgs(GridColumn gridColumn, int row, int column, object item)
Initializes a new instance of the GridViewCellEventArgs class.
gridColumn (GridColumn)Grid column that triggered the event.
row (int)The row that triggered the event, or -1 if no row.
column (int)Column that triggered the event, or -1 if no column.
item (object)Item of the row that triggered the event, or null if no item.

Properties

Column

#
public int Column { get; }
Gets the index of the column that triggered the event, or -1 if no column.

GridColumn

#
public GridColumn GridColumn { get; }
Gets the grid column that triggered the event.

Item

#
public object Item { get; }
Gets the item of the row that triggered the event, or null if there was no item.

Row

#
public int Row { get; }
Gets the row that triggered the event, or -1 if no row.