BindingListCollectionView.CanCancelEdit Property

 

Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object.

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

abstract CanCancelEdit : bool with get
override CanCancelEdit : bool with get

Property Value

Type: System.Boolean

true if the collection view can discard pending changes and restore the original values of an edited object; otherwise, false.

CanCancelEdit is true if the edited item implements the System.ComponentModel.IEditableObject interface. If CanCancelEdit is false, call CancelEdit to cause the view to exit the edit state and provide logic to revert the changes on the object that was edited.

.NET Framework
Available since 3.0
Return to top
Show: