C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonCheckSet.KryptonCheckButtonCollection

Manages a collection of KryptonCheckButton references.
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: ComponentFactory/Krypton

공개 메소드들

메소드 설명
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