CancelEdit Method
Collapse the table of content
Expand the table of content

IEditableCollectionView.CancelEdit Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft