DataGridViewCellValueEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the CellValueNeeded and CellValuePushed events of the DataGridView control.
- C#
- VB.NET
public class DataGridViewCellValueEventArgs : EventArgs
Public Class DataGridViewCellValueEventArgs
Inherits EventArgs
Constructors
DataGridViewCellValueEventArgs(columnIndex, rowIndex, value)
Initializes a new instance of the DataGridViewCellValueEventArgs class.
| Name | Type | Description |
|---|---|---|
| columnIndex | Int32 | The index of the column containing the cell that the event occurs for. |
| rowIndex | Int32 | The index of the row containing the cell that the event occurs for. |
| value | Object | The current value or null. |
Throws:
- ArgumentOutOfRangeException columnIndex is less than 0; or rowIndex is less than 0.
Properties
ColumnIndex
Int32: Returns a value indicating the column index of the cell that the event occurs for.
RowIndex
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Value
Object: Returns or sets the value of the cell that the event occurs for.
Used By
| Name | Description |
|---|---|
| DataGridViewCellValueEventHandler | Represents the method that will handle the CellValueNeeded event or CellValuePushed event of a DataGridView. |