Wisej.Web.ItemCheckEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.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.CheckedListBox CheckedObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the collection of checked items in the .
: Returns the number of selected items.
: Returns a value indicating whether this collection can be modified.
: Return an item in the checked items collection.
Throws:
The object cannot be set.
Determines if the specified item 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 items.
Name | Description |
---|---|
Parameter | Type | Description |
---|
Returns: . true if the item 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 of the object in the checked item collection or -1 if the object is not in the collection.
Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
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. |
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.
Wisej.Web.ItemCheckEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the ItemCheck event of a CheckedListBox or ListView control.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.CheckedListBox CheckedIndexCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the collection containing the indexes to the selected items in a CheckedListBox.
Int32: Returns the number of selected items.
Boolean: Returns a value indicating whether this collection can be modified.
Int32: Returns the index of a checked item in the CheckedListBox control.
Throws:
ArgumentException The index is less than zero.-or- The index is not in the collection.
Determines if the specified index is located within the collection.
Returns: Boolean. true if the index 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 an enumerator that can be used to iterate through the CheckedIndices collection.
Returns: IEnumerator. An IEnumerator for navigating through the list.
Returns an index into the collection of checked indexes.
Returns: Int32. The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.
Wisej.Web.CheckedListBox ObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the collection of items in a CheckedListBox.
Adds an item to the list of items for a ListBox.
Parameter | Type | Description |
---|---|---|
Returns: Int32. The zero-based index of the item in the collection.
Throws:
ArgumentNullException The item parameter was null.
Adds an item to the list of items for a CheckedListBox.
Returns: Int32. The zero-based index of the item in the collection.
Throws:
ArgumentNullException The item parameter was null.
Adds an item to the list of items for a CheckedListBox.
Returns: Int32.
Adds a collection of items to the list.
Removes all items from the CheckedListBox control.
Inserts an item into the collection at the specified index.
Throws:
ArgumentNullException The item was null.
ArgumentOutOfRangeException The index was less than zero; or the index was greater than the count of items in the collection.
Inserts an item into the collection at the specified index.
Throws:
ArgumentNullException The item was null.
ArgumentOutOfRangeException The index was less than zero; or the index was greater than the count of items in the collection.
Removes an item from the ListBox at the specified index.
Throws:
ArgumentOutOfRangeException The index parameter was less than zero, or the index parameter was greater than or equal to the count of items in the collection.
Wisej.Web.CheckedListBox
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 |
---|---|---|
Initializes a new instance of CheckedListBox class with the specified settings.
Initializes a new instance of the CheckedListBox class with the specified settings.
Initializes a new instance of the CheckedListBox class with the specified settings.
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.
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 |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
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 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.
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.
dataSource
Initial DataSource.
displayMember
Initial DisplayMember.
valueMember
Initial ValueMember.
iconMember
Initial IconMember.
checkStateMember
Initial CheckStateMember.
onItemCheck
Optional ItemCheck handler.
location
Initial location.
size
Initial size.
onItemCheck
Optional ItemCheck handler.
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.
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.
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.
item
An object representing the item to add to the collection.
onItemCheck
Optional ItemCheck handler.