[]
        
(Showing Draft Content)

C1.Win.C1Win7Pack.CustomButtonCollection

CustomButtonCollection Class

Represents a collection of C1CustomButtons.

Inheritance
CustomButtonCollection
Namespace: C1.Win.C1Win7Pack
Assembly: C1.Win.C1Win7Pack.4.8.dll
Syntax
[ListBindable(false)]
public class CustomButtonCollection : CollectionBase, IList, ICollection, IEnumerable

Properties

Name Description
this[int]

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

this[string]

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

Owner

Gets the owner C1TaskDialog.

Methods

Name Description
Add(C1CustomButton)

Adds the specified C1CustomButton to the collection.

AddRange(C1CustomButton[])

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

Contains(C1CustomButton)

Determines whether this collection contains the specified C1CustomButton.

Contains(string)

Determines whether this collection contains an C1CustomButton with the specified name.

IndexOf(C1CustomButton)

Determines the index of a specific C1CustomButton in the collection.

IndexOf(string)

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

Insert(int, C1CustomButton)

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

OnClear()

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

OnClearComplete()

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

OnInsertComplete(int, object)

Performs additional custom processes after inserting a C1CustomButton into the CustomButtonCollection instance.

OnRemoveComplete(int, object)

Performs additional custom processes after removing a C1CustomButton from the CustomButtonCollection instance.

OnSetComplete(int, object, object)

Performs additional custom processes after setting a C1CustomButton in the CustomButtonCollection instance.

OnValidate(object)

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

Remove(C1CustomButton)

Removes the specified C1CustomButton from the collection.

Remove(string)

Removes the first occurrence of the C1CustomButton with the specified name from the collection.