New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for events related to cell and row operations.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCellValueEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCellValueEventArgs

Inherited Members EventArgs.Empty

Constructors

C#
public GridViewCellValueEventArgs(GridViewRowInfo rowInfo, GridViewColumn column)
Parameters:rowInfoGridViewRowInfocolumnGridViewColumn

Initializes a new instance of the class.

C#
public GridViewCellValueEventArgs(int columnIndex, int rowIndex)
Parameters:columnIndexint

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

rowIndexint

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

Gets the cell column.

C#
public GridViewColumn Column { get; }

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

C#
public int ColumnIndex { get; }
Property Value:

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

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

C#
public int RowIndex { get; }
Property Value:

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

Gets the cell row.

C#
public GridViewRowInfo RowInfo { get; }

Gets the cell value.

C#
public object Value { get; set; }