MindFusion.Wpf Pack Programmer's Guide
ItemCollectionBase(T) Members
Fields Properties Methods
 


A base collection class for the diagram item collections.

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

 Protected Fields

  Name Description

InnerList

Gets a List<T> containing the list of elements in the collecion instance. (Inherited from CollectionBase.)

itemEventArgs

A ItemEventArgs instance used for passing arguments to the event handlers for the events of this collection. Used to avoid creating many small objects that would burden the garbage collector.

notifyParent

If enabled, the collection raises events to let their containing objects handle the addition or removal of items.

 Public Properties

  Name Description

Count

Gets the number of elements actually contained in the collection. (Inherited from CollectionBase.)

IsReadOnly

Gets a value indicating whether the collection is read-only. (Inherited from CollectionBase.)

Item

Gets or sets the element at the specified index. (Inherited from CollectionBase.)

 Public Methods

  Name Description

Add

Adds the specified diagram item to the collection.

Clear

Removes all diagram items from the collection.

Contains

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

CopyTo

  (Inherited from CollectionBase.)

GetAt

Gets the diagram item at the specified position.

GetEnumerator

Returns an enumerator that iterates through the collection. (Inherited from CollectionBase.)

IndexOf

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

Insert

Inserts the specified diagram item into the collection at the specified position.

Remove

Removes the diagram item from the collection.

RemoveAt

Removes the diagram item from the collection.

 Protected Methods

  Name Description

RaiseAdding

Raises the Adding event.

RaiseInserting

Raises the Inserting event.

RaiseRemoving

Raises the Removing event.

 See Also

ItemCollectionBase(T) Class
MindFusion.Diagramming.Wpf Namespace