Wisej.Web.CheckedListBox CheckedObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Int32: Returns the number of selected items.
Boolean: Returns a value indicating whether this collection can be modified.
Object: Return an item in the checked items collection.
Throws:
NotSupportedException The object cannot be set.
Determines if the specified item is located within the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
Copies the entire collection into an existing array at a specified location within the array.
Throws:
ArgumentNullException array is null.
RankException array is multidimensional.
ArgumentOutOfRangeException index is less than zero.
ArgumentException The number of elements in the source Array is greater than the available space from index to the end of the destination Array.
ArrayTypeMismatchException The type of the source Array cannot be cast automatically to the type of the destination Array.
Returns: IEnumerator. An IEnumerator for navigating through the list.
Returns an index into the collection of checked items.
Returns: Int32. The index of the object in the checked item collection or -1 if the object is not in the collection.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
item
An object representing the item to locate in the collection.
array
The destination array.
index
The zero-based relative index in array at which copying begins.
item
The object whose index you want to retrieve. This object must belong to the checked items collection.
Wisej.Web.CheckedListBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Displays a ListBox in which a check box is displayed to the left of each item.
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
)
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.
EventHandler Fired when the CheckStateMember property changes.
Wisej.Web.CheckedListBox CheckedIndexCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Throws:
Determines if the specified index is located within the collection.
Copies the entire collection into an existing array at a specified location within the array.
Throws:
Returns an index into the collection of checked indexes.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents the collection containing the indexes to the selected items in a .
: Returns the number of selected items.
: Returns a value indicating whether this collection can be modified.
: Returns the index of a checked item in the control.
The index is less than zero.-or- The index is not in the collection.
Parameter | Type | Description |
---|
Returns: . true if the index is located within the collection; otherwise, false.
Parameter | Type | Description |
---|
array is null.
array is multidimensional.
index is less than zero.
The number of elements in the source is greater than the available space from index to the end of the destination .
The type of the source cannot be cast automatically to the type of the destination .
Returns an enumerator that can be used to iterate through the collection.
Returns: . An for navigating through the list.
Parameter | Type | Description |
---|
Returns: . The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.
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.
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.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
index | The index to locate in the collection. |
array | The destination array. |
index | The zero-based relative index in array at which copying begins. |
index | The index of the checked item. |
Represents the method that will handle the ItemCheck event of a or control.
Name | Type | Description |
---|
Name | Description |
---|
sender | The source of the event. |
e |
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. |
Wisej.Web.CheckedListBox ObjectCollection
An that contains the event data.
Represents the collection of items in a .
Adds an item to the list of items for a .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the item in the collection.
The item parameter was null.
Adds an item to the list of items for a .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the item in the collection.
The item parameter was null.
Adds an item to the list of items for a .
Parameter | Type | Description |
---|
Returns: .
Parameter | Type | Description |
---|
Removes all items from the control.
Parameter | Type | Description |
---|
The item was null.
The index was less than zero; or the index was greater than the count of items in the collection.
Parameter | Type | Description |
---|
The item was null.
The index was less than zero; or the index was greater than the count of items in the collection.
Removes an item from the at the specified index.
Parameter | Type | Description |
---|
The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.
item | An object representing the item to add to the collection. |
item | An object representing the item to add to the collection. |
isChecked | True to check the item. |
item | An object representing the item to add to the collection. |
check | The check state for the new item. |
items | Collection of items to add to the list. |
index | The zero-based index location where the item is inserted. |
item | An object representing the item to insert. |
index | The zero-based index location where the item is inserted. |
item | An object representing the item to insert. |
check | The check state for the new item. |
index | The index of the item to remove. |
Wisej.Web.ItemCheckEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
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.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
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.