System.Windows.Forms.BindingSource.CancelEdit Method

Cancels the current edit operation.

Syntax

public void CancelEdit ()

Remarks

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 CurrencyManager.CancelCurrentEdit method of the underlying System.Windows.Forms.CurrencyManager, and is scoped to row-level changes.

Requirements

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