# DataGridViewCellParsingEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

* [ConvertEventArgs](https://docs.wisej.com/api/wisej.web/data-binding/wisej.web.converteventargs)
  * [DataGridViewCellParsingEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellparsingeventargs)

Provides data for the [CellParsing](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#cellparsing) event of a [DataGridView](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview) control.

{% tabs %}
{% tab title="C#" %}

```csharp
public class DataGridViewCellParsingEventArgs : ConvertEventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class DataGridViewCellParsingEventArgs
    Inherits ConvertEventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) DataGridViewCellParsingEventArgs(rowIndex, columnIndex, value, desiredType, inheritedCellStyle)

Initializes a new instance of the [DataGridViewCellParsingEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellparsingeventargs) class.

| Name                   | Type                                                                                                                       | Description                                     |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| **rowIndex**           | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                                                | The row index of the cell that was changed.     |
| **columnIndex**        | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                                                | The column index of the cell that was changed.  |
| **value**              | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                                              | The new value.                                  |
| **desiredType**        | [Type](https://docs.microsoft.com/dotnet/api/system.type)                                                                  | The type of the new value.                      |
| **inheritedCellStyle** | [DataGridViewCellStyle](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellstyle) | The style applied to the cell that was changed. |

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ColumnIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the column index of the cell data that requires parsing.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) InheritedCellStyle

[DataGridViewCellStyle](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellstyle): Returns or sets the style applied to the edited cell.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) ParsingApplied

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether a cell's value has been successfully parsed.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) RowIndex

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the row index of the cell that requires parsing.

## Used By

| Name                                                                                                                                                   | Description                                                                                                                                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DataGridViewCellParsingEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewcellparsingeventhandler) | Represents the method that will handle a [CellParsing](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#cellparsing) event of a [DataGridView](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview). |
