ListCollectionView.CancelEdit Method ()

 

Ends the edit transaction, and if possible, restores the original value to the item.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void CancelEdit()

CancelEdit sets CurrentEditItem to null and causes the collection view to exit the edit state. If CanCancelEdit is true, CancelEdit also restores the original values of the edited object.

.NET Framework
Available since 3.0
Return to top
Show: