C# Класс ComponentFactory.Krypton.Toolkit.KryptonCheckSet.KryptonCheckButtonCollection

Manages a collection of KryptonCheckButton references.
Наследование: System.Collections.CollectionBase
Показать файл Открыть проект

Открытые методы

Метод Описание
Add ( KryptonCheckButton checkButton ) : int

Adds the specifies KryptonCheckButton to the collection.

Contains ( KryptonCheckButton checkButton ) : bool

Determines whether a KryptonCheckButton is in the collection.

IndexOf ( KryptonCheckButton checkButton ) : int

Returns the index of the KryptonCheckButton reference.

Insert ( int index, KryptonCheckButton checkButton ) : void

Inserts a KryptonCheckButton reference into the collection at the specified location.

KryptonCheckButtonCollection ( KryptonCheckSet owner ) : System

Initialize a new instance of the KryptonCheckButtonCollection class.

Remove ( KryptonCheckButton checkButton ) : void

Removes a KryptonCheckButton from the collection.

this ( int index ) : KryptonCheckButton

Gets the KryptonCheckButton at the specified index.

Защищенные методы

Метод Описание
OnClear ( ) : void

Occurs when the collection is about to be cleared.

OnInsertComplete ( int index, object value ) : void

Occurs when a new entry has been added to the collection.

OnRemoveComplete ( int index, object value ) : void

Occurs when an entry has been removed from the collection.

OnSetComplete ( int index, object oldValue, object newValue ) : void

Occurs when a index has a value replaced.

Описание методов

Add() публичный Метод

Adds the specifies KryptonCheckButton to the collection.
public Add ( KryptonCheckButton checkButton ) : int
checkButton KryptonCheckButton The KryptonCheckButton object to add to the collection.
Результат int

Contains() публичный Метод

Determines whether a KryptonCheckButton is in the collection.
public Contains ( KryptonCheckButton checkButton ) : bool
checkButton KryptonCheckButton The KryptonCheckButton to locate in the collection.
Результат bool

IndexOf() публичный Метод

Returns the index of the KryptonCheckButton reference.
public IndexOf ( KryptonCheckButton checkButton ) : int
checkButton KryptonCheckButton The KryptonCheckButton to locate.
Результат int

Insert() публичный Метод

Inserts a KryptonCheckButton reference into the collection at the specified location.
public Insert ( int index, KryptonCheckButton checkButton ) : void
index int Index of position to insert.
checkButton KryptonCheckButton The KryptonCheckButton reference to insert.
Результат void

KryptonCheckButtonCollection() публичный Метод

Initialize a new instance of the KryptonCheckButtonCollection class.
public KryptonCheckButtonCollection ( KryptonCheckSet owner ) : System
owner KryptonCheckSet Owning component
Результат System

OnClear() защищенный Метод

Occurs when the collection is about to be cleared.
protected OnClear ( ) : void
Результат void

OnInsertComplete() защищенный Метод

Occurs when a new entry has been added to the collection.
protected OnInsertComplete ( int index, object value ) : void
index int Index of new entry.
value object Value at the new index.
Результат void

OnRemoveComplete() защищенный Метод

Occurs when an entry has been removed from the collection.
protected OnRemoveComplete ( int index, object value ) : void
index int Index of the removed entry.
value object Value at the removed entry.
Результат void

OnSetComplete() защищенный Метод

Occurs when a index has a value replaced.
protected OnSetComplete ( int index, object oldValue, object newValue ) : void
index int Index of the change in value.
oldValue object Value being replaced.
newValue object Value to be used.
Результат void

Remove() публичный Метод

Removes a KryptonCheckButton from the collection.
public Remove ( KryptonCheckButton checkButton ) : void
checkButton KryptonCheckButton The KryptonCheckButton to remove.
Результат void

this() публичный Метод

Gets the KryptonCheckButton at the specified index.
public this ( int index ) : KryptonCheckButton
index int Index of entry to return.
Результат KryptonCheckButton