MindFusion.Wpf Pack Programmer's Guide
NamedRangeCollection Methods
 


 Public Methods

  Name Description

Add

Adds the specified element to the collection.

Clear

Removes all elements from the collection.

Contains

Determines whether an element is in the collection. (Inherited from UndoableCollection.)

Contains

Determines whether an element with the specified name is in the collection. (Inherited from NamedCollection.)

CopyTo

Copies the elements of this collection to the specified array starting at the specified index within the array. (Inherited from UndoableCollection.)

CopyTo

Copies the elements of the collection to an array, starting at the specified index.

GetEnumerator

IEnumerator.GetEnumerator implementation. (Inherited from UndoableCollection.)

IndexOf

Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection. (Inherited from UndoableCollection.)

Insert

Inserts the specified element at the specified index in the collection.

Remove

Removes the specified element from the collection.

RemoveAt

Removes the element at the specified index.

 Protected Methods

  Name Description

OnCollectionChanged

UndoableCollection.OnCollectionChanged override. (Inherited from NamedCollection.)

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. (Inherited from UndoableCollection.)

TrackClear

Clears the collection. If undo is enabled, the collection is cleared through a command. Otherwise, the collection is cleared directly. (Inherited from UndoableCollection.)

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. (Inherited from UndoableCollection.)

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. (Inherited from UndoableCollection.)

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. (Inherited from UndoableCollection.)

 See Also

NamedRangeCollection Class
MindFusion.Spreadsheet.Wpf Namespace