MindFusion.Wpf Pack Programmer's Guide
NamedCollection(T) Members
Properties Methods Events
 


Represents a collection of objects that can be manipulated by name. The objects in the collection are required to have unique names.

The following tables list the members exposed by the NamedCollection(T) type.

 Public Properties

  Name Description

Count

Gets the number of items in the collection. (Inherited from UndoableCollection.)

IsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread safe). (Inherited from UndoableCollection.)

Item

Gets the item at the specified index. (Inherited from UndoableCollection.)

Item

Gets the item with the specified name. If there is no item with the specified name, the indexer has no effect.

SyncRoot

Gets an object that can be used to synchronize access to the collection. (Inherited from UndoableCollection.)

 Protected Properties

  Name Description

Workbook

Gets a reference to the parent Workbook object. (Inherited from UndoableCollection.)

 Public Methods

  Name Description

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.

CopyTo

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

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.)

 Protected Methods

  Name Description

OnCollectionChanged

UndoableCollection.OnCollectionChanged override.

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.)

 Public Events

  Name Description

CollectionChanged

Raised when the collection is changed. (Inherited from UndoableCollection.)

 See Also

NamedCollection(T) Class
MindFusion.Spreadsheet.Wpf Namespace