[]
        
(Showing Draft Content)

C1.Win.Gauge.ShapeCollection

ShapeCollection Class

Represents a collection of C1GaugeBaseShape objects.

Inheritance
ShapeCollection
Namespace: C1.Win.Gauge
Assembly: C1.Win.Gauge.8.dll
Syntax
[ListBindable(false)]
public class ShapeCollection : CollectionBase, IList, ICollection, IEnumerable

Properties

Name Description
this[int]

Gets or sets the C1GaugeBaseShape at the specified position in the collection.

this[string]

Gets the first C1GaugeBaseShape with the specified name in the collection.

Methods

Name Description
Add(C1GaugeBaseShape)

Adds the specified C1GaugeBaseShape to the collection.

AddRange(C1GaugeBaseShape[])

Adds a group of C1GaugeBaseShape objects to the end of the collection.

ClearAndDispose()

Removes all shapes from the collection, then disposes the shapes.

Contains(C1GaugeBaseShape)

Determines whether this collection contains the specified C1GaugeBaseShape.

Contains(string)

Determines whether this collection contains a C1GaugeBaseShape with the specified name.

IndexOf(C1GaugeBaseShape)

Determines the index of a specific C1GaugeBaseShape in the collection.

IndexOf(string)

Determines index of the first C1GaugeBaseShape with the specified name in the collection.

Insert(int, C1GaugeBaseShape)

Inserts the specified C1GaugeBaseShape into this collection at the given index.

Move(int, int)

Moves the item with given index (fromIndex) to the new position (toIndex).

OnClear()

Performs additional custom processes when clearing the contents of the ShapeCollection instance.

OnClearComplete()

Performs additional custom processes after clearing the contents of the ShapeCollection instance.

OnInsertComplete(int, object)

Performs additional custom processes after inserting a C1GaugeBaseShape into the ShapeCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a C1GaugeBaseShape from the ShapeCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a C1GaugeBaseShape in the ShapeCollection instance.

OnValidate(object)

Checks whather the type of the value argument is allowable for this collection.

Remove(C1GaugeBaseShape)

Removes the specified C1GaugeBaseShape from the collection.