IEditableCollectionView Interface
Defines methods and properties that a collection view implements to provide editing capabilities to a collection.
Namespace: System.ComponentModel
Assembly: System.Windows (in System.Windows.dll)
The IEditableCollectionView type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CanAddNew | Gets a value that indicates whether a new item can be added to the collection. |
![]() ![]() | CanCancelEdit | Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object. |
![]() ![]() | CanRemove | Gets a value that indicates whether an item can be removed from the collection. |
![]() ![]() | CurrentAddItem | Gets the item that is being added during the current add transaction. |
![]() ![]() | CurrentEditItem | Gets the item in the collection that is being edited. |
![]() ![]() | IsAddingNew | Gets a value that indicates whether an add transaction is in progress. |
![]() ![]() | IsEditingItem | Gets a value that indicates whether an edit transaction is in progress. |
![]() ![]() | NewItemPlaceholderPosition | Gets or sets the position of the new item placeholder in the collection view. |
| Name | Description | |
|---|---|---|
![]() ![]() | AddNew | Adds a new item to the underlying collection. |
![]() ![]() | CancelEdit | Ends the edit transaction and, if possible, restores the original value of the item. |
![]() ![]() | CancelNew | Ends the add transaction and discards the pending new item. |
![]() ![]() | CommitEdit | Ends the edit transaction and saves the pending changes. |
![]() ![]() | CommitNew | Ends the add transaction and saves the pending new item. |
![]() ![]() | EditItem | Begins an edit transaction on the specified item. |
![]() ![]() | Remove | Removes the specified item from the collection. |
![]() ![]() | RemoveAt | Removes the item at the specified position from the collection. |
When a collection view implements the IEditableCollectionView interface, you can directly change the underlying collection, if it allows changes to be made, by using the methods and properties that IEditableCollectionView exposes, regardless of the collection's type.
The PagedCollectionView type implements IEditableCollectionView, so you can edit a collection that uses that type.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.


