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

Initializes a new instance of the CheckedListBox class.

Properties

CheckedIndexCollection: Collection of checked indexes in this CheckedListBox.

CheckedObjectCollection: Collection of checked items in this CheckedListBox.

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.

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.

ObjectCollection: Returns the collection of items in this CheckedListBox.

Methods

Unchecks all items in the CheckedListBox.

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.

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.

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.

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

ItemCheckEventHandler Fired after the checked state of an item changes.

EventHandler Fired when the CheckStateMember property changes.

EventHandler Fired when the user clicks the CheckedListBox control.

ItemCheckEventHandler Fired when the checked state of an item changes.

MouseEventHandler Fired when the user clicks the CheckedListBox control with the mouse.

Implements

Last updated