Occurs when the user leaves edit mode, regardless of whether the value of the current cell has been modified.
[Visual Basic] Public Event CellParsing As DataGridViewCellConvertEventHandler [C#] public event DataGridViewCellConvertEventHandler CellParsing; [C++] public: __event DataGridViewCellConvertEventHandler* CellParsing;
The event handler receives an argument of type DataGridViewCellConvertEventArgs containing data related to this event. The following DataGridViewCellConvertEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| Cell | Gets the cell that is being formatted or parsed. |
| ConvertApplied | Gets or sets a value indicating whether the value has been successfully converted. |
| DesiredType | Gets the data type of the desired value to convert to. |
| Value | Gets or sets the formatted or parsed value of the cell. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
DataGridView Class | DataGridView Members | Wimark.Controls Namespace