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.
Initializes a new instance of the CheckedListBox class.
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.
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.
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.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
index
The index of the item.
index
The index of the item to get the checked value of.
index
The index of the item to set the check state for.
value
true to set the item as checked; otherwise, false.
index
The index of the item to set the state for.
value
One of the CheckState values.
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.
Wisej.Web.ItemCheckEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the ItemCheck event of the CheckedListBox and ListView controls.
Initializes a new instance of the ItemCheckEventArgs class.
Name | Type | Description |
---|---|---|
CheckState: Returns a value indicating the current state of the item's check box.
Int32: Returns the zero-based index of the item to change.
CheckState: Returns or sets whether to set the check box for the item to be checked, unchecked, or indeterminate.
Wisej.Web.ItemCheckEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
sender
The source of the event.
e
An ItemCheckEventArgs that contains the event data.
Fired when the checked state of an item changes.
Fired after the checked state of an item changes.
Fired when the check state of an item changes.
index
The zero-based index of the item to change.
newCheckValue
One of the CheckState values that indicates whether to change the check box for the item to be checked, unchecked, or indeterminate.
currentValue
One of the CheckState values that indicates whether the check box for the item is currently checked, unchecked, or indeterminate.