CheckedListBox
Wisej.Web.CheckedListBox
Last updated
Wisej.Web.CheckedListBox
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.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.
Initializes a new instance of the CheckedListBox class.
Name | Type | Description |
---|---|---|
onItemCheck | Optional ItemCheck handler. |
Initializes a new instance of CheckedListBox class with the specified settings.
Name | Type | Description |
---|---|---|
dataSource | Initial DataSource. | |
displayMember | Initial DisplayMember. | |
valueMember | Initial ValueMember. | |
iconMember | Initial IconMember. | |
checkStateMember | Initial CheckStateMember. | |
onItemCheck | Optional ItemCheck handler. |
Initializes a new instance of the CheckedListBox class with the specified settings.
Name | Type | Description |
---|---|---|
location | Initial location. | |
size | Initial size. | |
onItemCheck | Optional ItemCheck handler. |
Initializes a new instance of the CheckedListBox class with the specified settings.
Name | Type | Description |
---|---|---|
location | Initial location. | |
size | Initial size. | |
dataSource | Initial DataSource. | |
displayMember | Initial DisplayMember. | |
valueMember | Initial ValueMember. | |
iconMember | Initial IconMember. | |
checkStateMember | Initial CheckStateMember. | |
onItemCheck | Optional ItemCheck handler. |
CheckedIndexCollection: Collection of checked indexes in the CheckedListBox.
CheckedObjectCollection: Collection of checked items in the 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. (Default: False
)
String: Returns or sets the property to bind to the CheckState of the items in the CheckedListBox control. (Default: ""
)
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.
Parameter | Type | Description |
---|---|---|
index | The index of the item. |
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.
Parameter | Type | Description |
---|---|---|
index | The index of the item to get the checked value of. |
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.
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:
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.
Parameter | Type | Description |
---|---|---|
index | The index of the item to set the state for. | |
value | One of the CheckState values. |
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.
Name | Description |
---|---|
Bindable components implement this interface. | |
Controls that support drag & drop operations 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. | |
Provides access to the validation events and properties property for controls that support validation. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |