Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IEditableCollectionView Members

.NET Framework 3.5

Defines methods and properties that a CollectionView implements to provide editing capabilities to a collection.

The IEditableCollectionView type exposes the following members.

  NameDescription
Public method AddNew Adds a new item to the collection.
Public method CancelEdit Ends the edit transaction and, if possible, restores the original value to the item.
Public method CancelNew Ends the add transaction and discards the pending new item.
Public method CommitEdit Ends the edit transaction and saves the pending changes.
Public method CommitNew Ends the add transaction and saves the pending new item.
Public method EditItem Begins an edit transaction of the specified item.
Public method Remove Removes the specified item from the collection.
Public method RemoveAt Removes the item at the specified position from the collection.
Top

  NameDescription
Public property CanAddNew Gets a value that indicates whether a new item can be added to the collection.
Public property CanCancelEdit Gets a value that indicates whether the collection view can discard pending changes and restore the original values of an edited object.
Public property CanRemove Gets a value that indicates whether an item can be removed from the collection.
Public property CurrentAddItem Gets the item that is being added during the current add transaction.
Public property CurrentEditItem Gets the item in the collection that is being edited.
Public property IsAddingNew Gets a value that indicates whether an add transaction is in progress.
Public property IsEditingItem Gets a value that indicates whether an edit transaction is in progress.
Public property NewItemPlaceholderPosition Gets or sets the position of the new item placeholder in the collection view.
Top

Community Additions

ADD
Show:
© 2015 Microsoft