DataGridViewCellParsingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.1.0.0)
Provides data for the CellParsing event of a DataGridView control.
- C#
- VB.NET
public class DataGridViewCellParsingEventArgs : ConvertEventArgs
Public Class DataGridViewCellParsingEventArgs
Inherits ConvertEventArgs
Constructors
DataGridViewCellParsingEventArgs(rowIndex, columnIndex, value, desiredType, inheritedCellStyle)
Initializes a new instance of the DataGridViewCellParsingEventArgs class.
| Name | Type | Description |
|---|---|---|
| rowIndex | Int32 | The row index of the cell that was changed. |
| columnIndex | Int32 | The column index of the cell that was changed. |
| value | Object | The new value. |
| desiredType | Type | The type of the new value. |
| inheritedCellStyle | DataGridViewCellStyle | The style applied to the cell that was changed. |
Properties
ColumnIndex
Int32: Returns the column index of the cell data that requires parsing.
Value: The column index of the cell that was changed.
InheritedCellStyle
DataGridViewCellStyle: Returns or sets the style applied to the edited cell.
Value: A DataGridViewCellStyle that represents the current style of the cell being edited. The default value is the value of the cell InheritedStyle property.
ParsingApplied
Boolean: Returns or sets whether a cell's value has been successfully parsed.
Value: true if the cell's value has been successfully parsed; otherwise, false. The default is false.
RowIndex
Int32: Returns the row index of the cell that requires parsing.
Value: The row index of the cell that was changed.
Used By
| Name | Description |
|---|---|
| DataGridViewCellParsingEventHandler | Represents the method that will handle a CellParsing event of a DataGridView. |