Class
GridViewCellValueEventArgs

Provides data for events related to cell and row operations.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCellValueEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCellValueEventArgs

Inherited Members EventArgs.Empty

Constructors

GridViewCellValueEventArgs(GridViewRowInfo, GridViewColumn)

Declaration

cs-api-definition
public GridViewCellValueEventArgs(GridViewRowInfo rowInfo, GridViewColumn column)

Parameters

rowInfo

GridViewRowInfo

column

GridViewColumn

GridViewCellValueEventArgs(int, int)

Initializes a new instance of the class.

Declaration

cs-api-definition
public GridViewCellValueEventArgs(int columnIndex, int rowIndex)

Parameters

columnIndex

int

The index of the column containing the cell that the event occurs for.

rowIndex

int

The index of the row containing the cell that the event occurs for.

Exceptions

ArgumentOutOfRangeException

columnIndex is less than -1.-or-rowIndex is less than -1.

Properties

Column

Gets the cell column.

Declaration

cs-api-definition
public GridViewColumn Column { get; }

Property Value

GridViewColumn

ColumnIndex

Gets a value indicating the column index of the cell that the event occurs for.

Declaration

cs-api-definition
public int ColumnIndex { get; }

Property Value

int

The index of the column containing the cell that the event occurs for.

RowIndex

Gets a value indicating the row index of the cell that the event occurs for.

Declaration

cs-api-definition
public int RowIndex { get; }

Property Value

int

The index of the row containing the cell that the event occurs for.

RowInfo

Gets the cell row.

Declaration

cs-api-definition
public GridViewRowInfo RowInfo { get; }

Property Value

GridViewRowInfo

Value

Gets the cell value.

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object