C# Class ComponentFactory.Krypton.Toolkit.KryptonCheckSet.KryptonCheckButtonCollection

Manages a collection of KryptonCheckButton references.
Inheritance: System.Collections.CollectionBase
Datei anzeigen Open project: ComponentFactory/Krypton

Public Methods

Method Description
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.

Protected Methods

Method Description
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.

Method Details

Add() public method

Adds the specifies KryptonCheckButton to the collection.
public Add ( KryptonCheckButton checkButton ) : int
checkButton KryptonCheckButton The KryptonCheckButton object to add to the collection.
return int

Contains() public method

Determines whether a KryptonCheckButton is in the collection.
public Contains ( KryptonCheckButton checkButton ) : bool
checkButton KryptonCheckButton The KryptonCheckButton to locate in the collection.
return bool

IndexOf() public method

Returns the index of the KryptonCheckButton reference.
public IndexOf ( KryptonCheckButton checkButton ) : int
checkButton KryptonCheckButton The KryptonCheckButton to locate.
return int

Insert() public method

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.
return void

KryptonCheckButtonCollection() public method

Initialize a new instance of the KryptonCheckButtonCollection class.
public KryptonCheckButtonCollection ( KryptonCheckSet owner ) : System
owner KryptonCheckSet Owning component
return System

OnClear() protected method

Occurs when the collection is about to be cleared.
protected OnClear ( ) : void
return void

OnInsertComplete() protected method

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.
return void

OnRemoveComplete() protected method

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.
return void

OnSetComplete() protected method

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.
return void

Remove() public method

Removes a KryptonCheckButton from the collection.
public Remove ( KryptonCheckButton checkButton ) : void
checkButton KryptonCheckButton The KryptonCheckButton to remove.
return void

this() public method

Gets the KryptonCheckButton at the specified index.
public this ( int index ) : KryptonCheckButton
index int Index of entry to return.
return KryptonCheckButton