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

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

Public Methods

Method 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 method

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

Add() public method

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
return int

ObjectCollection() public method

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