PagedCollectionView.CanRemove Property

Silverlight

Gets a value that indicates whether an item can be removed from the collection.

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

'Declaration
Public ReadOnly Property CanRemove As Boolean

Property Value

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

Implements

IEditableCollectionView.CanRemove

A PagedCollectionView can remove an item if IsEditingItem is false, IsAddingNew is false, and the underlying collection permits removal of the item.

Use this property to test whether an item can be removed before you call the Remove or RemoveAt methods.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show: