Share via


PagedCollectionView.CanCancelEdit Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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:  System.Windows.Data (in System.Windows.Data.dll)

Syntax

'Declaration
Public ReadOnly Property CanCancelEdit As Boolean
public bool CanCancelEdit { 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.

Implements

IEditableCollectionView.CanCancelEdit

Remarks

CanCancelEdit is true if the edited item implements IEditableObject.

Use this property to test whether the edit can be canceled before you call CancelEdit.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.