Export (0) Print
Expand All

BindingSource.CancelEdit Method

Cancels the current edit operation.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void CancelEdit()

This method discards modifications to data since the last save or load operation if both of the following conditions are met:

This method calls the CancelCurrentEdit method of the underlying CurrencyManager, and is scoped to row-level changes.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft