[]
        
(Showing Draft Content)

C1.Win.Gauge.DecoratorCollection

DecoratorCollection Class

Represents a collection of C1GaugeDecorator objects.

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

Properties

Name Description
this[int]

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

this[string]

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

Methods

Name Description
Add(C1GaugeDecorator)

Adds the specified C1GaugeDecorator to the collection.

AddRange(C1GaugeDecorator[])

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

ClearAndDispose()

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

Contains(C1GaugeDecorator)

Determines whether this collection contains the specified C1GaugeDecorator.

Contains(string)

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

IndexOf(C1GaugeDecorator)

Determines the index of a specific C1GaugeDecorator in the collection.

IndexOf(string)

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

Insert(int, C1GaugeDecorator)

Inserts the specified C1GaugeDecorator 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 DecoratorCollection instance.

OnClearComplete()

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

OnInsertComplete(int, object)

Performs additional custom processes after inserting a C1GaugeDecorator into the DecoratorCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a C1GaugeDecorator from the DecoratorCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a C1GaugeDecorator in the DecoratorCollection instance.

OnValidate(object)

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

Remove(C1GaugeDecorator)

Removes the specified C1GaugeDecorator from the collection.