CheckedListBox
Wisej.Web.CheckedListBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Displays a ListBox in which a check box is displayed to the left of each item.
public class CheckedListBox : ListBox
Constructors
CheckedListBox()

Initializes a new instance of the CheckedListBox class.
Properties
CheckedIndices

CheckedIndexCollection: Collection of checked indexes in this CheckedListBox.
CheckedItems

CheckedObjectCollection: Collection of checked items in this CheckedListBox.
CheckOnClick

Boolean: Returns or sets whether list items are checked when they are clicked. The default is to check the item when clicking on the checkbox icon.
CheckStateMember

String: Returns or sets the property to use as the tooltip for the items in the ListControl, when the property ShowToolTips is set to true.
Items

ObjectCollection: Returns the collection of items in this CheckedListBox.
Methods
ClearChecked()

Unchecks all items in the CheckedListBox.
GetItemChecked(index)

Returns a value indicating whether the specified item is checked.
Returns: Boolean. true if the item is checked; otherwise, false.
Throws:
ArgumentException The index specified is less than zero; or the index specified is greater than or equal to the count of items in the list.
GetItemCheckState(index)

Returns a value indicating the check state of the current item.
Returns: CheckState. One of the CheckState values.
Throws:
ArgumentOutOfRangeException The index specified is less than zero; or the index specified is greater than or equal to the count of items in the list.
SetItemChecked(index, value)

Sets CheckState for the item at the specified index to Checked.
Throws:
ArgumentException The index specified is less than zero; or the index is greater than the count of items in the list.
SetItemCheckState(index, value)

Sets the check state of the item at the specified index.
Throws:
ArgumentOutOfRangeException The index specified is less than zero; or the index is greater than or equal to the count of items in the list.
Events
AfterItemCheck

ItemCheckEventHandler Fired after the checked state of an item changes.
CheckStateMemberChanged

EventHandler Fired when the CheckStateMember property changes.
Click

EventHandler Fired when the user clicks the CheckedListBox control.
ItemCheck

ItemCheckEventHandler Fired when the checked state of an item changes.
MouseClick

MouseEventHandler Fired when the user clicks the CheckedListBox control with the mouse.
Implements
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?