Updated: July 2008
Ends the edit transaction and, if possible, restores the original value to the item.
Public Sub CancelEdit
Dim instance As BindingListCollectionView instance.CancelEdit()
public void CancelEdit()
public: virtual void CancelEdit() sealed
public final function CancelEdit()
You cannot use methods in XAML.
CancelEdit sets CurrentEditItem to nullNothingnullptra null reference (Nothing in Visual Basic) 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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
Date
History
Reason
July 2008
Added topic for new member.
SP1 feature change.