DiagramLite Programmer's Guide
DiagramItemCollection Members
Constructors Fields Properties Methods
 


Represents a strongly typed collection of DiagramItem objects.

The following tables list the members exposed by the DiagramItemCollection type.

 Public Constructors

  Name Description

DiagramItemCollection

Overloaded.  

 Inherited Protected Fields

  Name Description

itemEventArgs

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

notifyParent

If enabled, the collection raises events to let their containing objects handle the addition or removal of items. (Inherited from CollectionBase.)

 Inherited Public Properties

  Name Description

Count

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

IsReadOnly

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

Item

An indexer that lets you access the element at the specified position. (Inherited from CollectionBase.)

 Inherited Public Methods

  Name Description

Add

Adds an item to the collection. (Inherited from CollectionBase.)

Clear

Removes all items from the collection. (Inherited from CollectionBase.)

Contains

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

CopyTo

  (Inherited from CollectionBase.)

GetEnumerator

Returns an enumerator for this 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 an element into the Collection at the specified index. (Inherited from CollectionBase.)

Remove

Removes the first occurrence of a specific object from the collection. (Inherited from CollectionBase.)

RemoveAt

Removes the element at the specified index of the collection. (Inherited from CollectionBase.)

 Inherited Protected Methods

  Name Description

RaiseAdding

Raises the Adding event. (Inherited from CollectionBase.)

RaiseInserting

Raises the Inserting event. (Inherited from CollectionBase.)

RaiseRemoving

Raises the Removing event. (Inherited from CollectionBase.)

 See Also

DiagramItemCollection Class
MindFusion.Diagramming Namespace