Class GraphicElementCollection

GraphicElementCollection class

Represents GraphicElement collection.

public sealed class GraphicElementCollection : ICollection<GraphicElement>

Constructors

NameDescription
GraphicElementCollection()Initializes the new collection.

Properties

NameDescription
Count { get; }Gets the number of GraphicElement object elements actually contained in the collection.
Item { get; }Gets the GraphicElement element at the specified index.

Methods

NameDescription
Add(GraphicElement)Adds a new GraphicElement to the collection. All items in the collection must have the same Parent.
Clear()Clears the collection.
Contains(GraphicElement)Determines whether an element is in the collection.
CopyTo(GraphicElement[], int)Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
GetEnumerator()Returns an enumerator for the entire collection.
Remove(GraphicElement)Deletes the GraphicElement element.
override ToString()Gets a string representation of this collection.

See Also