| Overload | Description | 
|---|---|
| CancelEdit() | Causes the gridview to cancel the current edit, restore the original value, and exit editing mode. | 
| CancelEdit(EditingUnit) | Causes the gridview to cancel the current edit, restore the original value, and exit editing mode. | 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family