[]
        
(Showing Draft Content)

C1.Win.Gauge.GaugeCollection

GaugeCollection Class

Represents a collection of C1GaugeBase objects.

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

Properties

Name Description
this[int]

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

this[string]

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

Methods

Name Description
Add(C1GaugeBase)

Adds the specified C1GaugeBase to the collection.

AddRange(C1GaugeBase[])

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

ClearAndDispose()

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

Contains(C1GaugeBase)

Determines whether this collection contains the specified C1GaugeBase.

Contains(string)

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

IndexOf(C1GaugeBase)

Determines the index of a specific C1GaugeBase in the collection.

IndexOf(string)

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

Insert(int, C1GaugeBase)

Inserts the specified C1GaugeBase 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 GaugeCollection instance.

OnClearComplete()

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

OnInsertComplete(int, object)

Performs additional custom processes after inserting a C1GaugeBase into the GaugeCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a C1GaugeBase from the GaugeCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a C1GaugeBase in the GaugeCollection instance.

OnValidate(object)

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

Remove(C1GaugeBase)

Removes the specified C1GaugeBase from the collection.