CheckedListBox

Wisej.Web.CheckedListBox

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.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 the CheckedListBox.

CheckedItems

CheckedObjectCollection: Collection of checked items in the CheckedListBox.

CheckOnClick

Booleanarrow-up-right: 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

Stringarrow-up-right: Returns or sets the property to bind to the CheckState of the items in the CheckedListBox control.

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.

Parameter
Type
Description

index

The index of the item.

Returns: Booleanarrow-up-right. true if the item is checked; otherwise, false.

Throws:

GetItemCheckState(index)

Returns a value indicating the check state of the current item.

Parameter
Type
Description

index

The index of the item to get the checked value of.

Returns: CheckState. One of the CheckState values.

Throws:

SetItemChecked(index, value)

Sets CheckState for the item at the specified index to Checked.

Parameter
Type
Description

index

The index of the item to set the check state for.

value

true to set the item as checked; otherwise, false.

Throws:

SetItemCheckState(index, value)

Sets the check state of the item at the specified index.

Parameter
Type
Description

index

The index of the item to set the state for.

value

One of the CheckState values.

Throws:

Events

AfterItemCheck

ItemCheckEventHandler Fired after the checked state of an item changes.

CheckStateMemberChanged

EventHandlerarrow-up-right Fired when the CheckStateMember property changes.

Click

EventHandlerarrow-up-right 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

Name
Description

Bindable components implement this interface.

Provides access to the LabelWrapper associated with the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the Modified property and ModifiedChanged event for controls that 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?