MindFusion.Wpf Pack Programmer's Guide
UndoableCollection(T) Methods
 


 Public Methods

  Name Description

Contains

Determines whether an element is in the collection.

CopyTo

Copies the elements of this collection to the specified array starting at the specified index within the array.

GetEnumerator

IEnumerator.GetEnumerator implementation.

IndexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.

 Protected Methods

  Name Description

OnCollectionChanged

Raises the CollectionChanged event.

TrackAdd

Adds the specified item to the collection. If undo is enabled, the item is added through a command. Otherwise, the item is added directly.

TrackClear

Clears the collection. If undo is enabled, the collection is cleared through a command. Otherwise, the collection is cleared directly.

TrackMove

Moves the specified item to another position. If undo is enabled, the item is moved through a command. Otherwise, the item is moved directly.

TrackRemove

Removes the specified item to the collection. If undo is enabled, the item is removed through a command. Otherwise, the item is removed directly.

TrackReplace

Removes the specified item in the collection. If undo is enabled, the item is replaced through a command. Otherwise, the item is replaced directly.

 See Also

UndoableCollection(T) Class
MindFusion.Spreadsheet.Wpf Namespace