Share via


DomainDataSourceView.IEditableCollectionView.CanCancelEdit Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

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

Syntax

'Declaration
Private ReadOnly Property CanCancelEdit As Boolean
    Implements IEditableCollectionView.CanCancelEdit
    Get
'Usage
Dim instance As DomainDataSourceView
Dim value As Boolean

value = CType(instance, IEditableCollectionView).CanCancelEdit
bool IEditableCollectionView.CanCancelEdit { get; }
private:
virtual property bool CanCancelEdit {
    bool get () sealed = IEditableCollectionView::CanCancelEdit::get;
}
private abstract CanCancelEdit : bool
private override CanCancelEdit : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

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

This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an IEditableCollectionView interface.

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace