Skip to main content
All docs
V25.2
  • ShapeCollection Methods

    A collection of shapes.
    Name Description
    Add(T) Adds an item to the collection. Inherited from PresentationCollectionBase<T>.
    BringForward(ShapeBase) Brings the specified shape one level forward.
    BringForward(Int32) Brings the shape at the specified index one level forward.
    BringToFront(ShapeBase) Brings the specified shape to the front.
    BringToFront(Int32) Brings the shape at the specified index to the front.
    Clear() Clears the collection. Inherited from PresentationObjectCollection<T>.
    Contains(T) Determines whether the current collection contains the specified item. Inherited from PresentationCollectionBase<T>.
    CopyTo(T[], Int32) Copies the elements of the collection to an array, starting at a specific array index. Inherited from PresentationCollectionBase<T>.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    Find<TResult>(Func<TResult, Boolean>) Finds the first occurrence of a shape that matches the specified condition.
    FindAll<TResult>(Func<TResult, Boolean>) Finds all shapes that match the specified condition.
    GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from PresentationCollectionBase<T>.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    IndexOf(T) Returns the position of the specified item in the collection. Inherited from PresentationCollectionBase<T>.
    Insert(Int32, T) Inserts an item into the collection at the specified index. Inherited from PresentationCollectionBase<T>.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    Move(ShapeBase, Int32) Moves the specified shape to the specified index.
    Move(Int32, Int32) Moves the shape at the specified index to the specified index.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    Remove(T) Removes the first occurrence of a specific item from the collection. Inherited from PresentationCollectionBase<T>.
    RemoveAt(Int32) Removes the item at the specified index in the collection. Inherited from PresentationCollectionBase<T>.
    SendBackward(ShapeBase) Sends the specified shape one level backward.
    SendBackward(Int32) Sends the shape at the specified index one level backward.
    SendToBack(ShapeBase) Sends the specified shape to the back.
    SendToBack(Int32) Sends the shape at the specified index to the back.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also