DomainDataSourceView.CanRemove Property

WCF RIA Services

[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 an item can be removed from the collection.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

public bool CanRemove { get; }

Property Value

Type: System.Boolean
true if an item can be removed from the collection; otherwise, false.

Implements

IEditableCollectionView.CanRemove

CanRemove is false if the underlying collection is read-only.

Show: