Provides the cell coordinates and value used by the CellValueNeeded and CellValuePushed events.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCellValueEventArgs : EventArgs
Inheritance: objectEventArgsGridViewCellValueEventArgs
Inherited Members
Constructors
Initializes event data for a cell identified by its row and column objects.
public GridViewCellValueEventArgs(GridViewRowInfo rowInfo, GridViewColumn column)
The row containing the cell.
columnGridViewColumnThe column containing the cell.
Exceptions: ArgumentNullExceptionEither rowInfo or column is null.
Initializes a new instance of the class.
public GridViewCellValueEventArgs(int columnIndex, int rowIndex)
The index of the column containing the cell that the event occurs for.
rowIndexintThe index of the row containing the cell that the event occurs for.
Exceptions: ArgumentOutOfRangeExceptioncolumnIndex is less than -1.-or-rowIndex is less than -1.
Properties
Gets the cell column.
public GridViewColumn Column { get; }
Gets a value indicating the column index of the cell that the event occurs for.
public int ColumnIndex { get; }
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.
public int RowIndex { get; }
The index of the row containing the cell that the event occurs for.
Gets the cell row.
public GridViewRowInfo RowInfo { get; }
Gets or sets the value associated with the virtual cell operation.
public object Value { get; set; }
For CellValueNeeded, set this to supply the requested value; for CellValuePushed, it contains the value to store.