C# Class ComponentFactory.Krypton.Toolkit.KryptonCheckedListBox.ObjectCollection

Represents the collection of items in a CheckedListBox.
Inheritance: System.Windows.Forms.ListBox.ObjectCollection
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
Add ( object item, CheckState check ) : int

Adds an item to the list of items for a CheckedListBox, specifying the object to add and the initial checked value.

Add ( object item, bool isChecked ) : int

Adds an item to the list of items for a CheckedListBox, specifying the object to add and whether it is checked.

ObjectCollection ( KryptonCheckedListBox owner ) : System

Initialize a new instance of the ObjectCollection class.

Method Details

Add() public méthode

Adds an item to the list of items for a CheckedListBox, specifying the object to add and the initial checked value.
public Add ( object item, CheckState check ) : int
item object An object representing the item to add to the collection.
check CheckState The initial CheckState for the checked portion of the item.
Résultat int

Add() public méthode

Adds an item to the list of items for a CheckedListBox, specifying the object to add and whether it is checked.
public Add ( object item, bool isChecked ) : int
item object An object representing the item to add to the collection.
isChecked bool true to check the item; otherwise, false
Résultat int

ObjectCollection() public méthode

Initialize a new instance of the ObjectCollection class.
public ObjectCollection ( KryptonCheckedListBox owner ) : System
owner KryptonCheckedListBox Reference to owning control.
Résultat System