Wisej.Web.ListBox SelectedObjectCollection
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
value
value
destination
index
value
value
Wisej.Web.ListBox ObjectCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the collection of items in a Wisej.Web.ListBox control.
: Returns the number of items in the collection.
: Returns a value indicating whether this collection can be modified.
: Retrieves the item at the specified index within the collection.
Throws:
The index was less than zero; or the index was greater of equal to the count of items in the collection.
Throws:
Adds a collection of items to the list.
Determines if the specified item is located within the collection.
Copies the entire collection into an existing array of objects at a specified location within the array.
Returns an enumerator that can be used to iterate through the item collection.
Retrieves the index within the collection of the specified item.
Throws:
Inserts an item into the collection at the specified index.
Throws:
Throws:
Wisej.Web.ListBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a control to display a list of items.
Initializes a new instance of .
: Returns or sets a value indicating that the control can display HTML in the Text property.
Throws:
Throws:
Throws:
Not used. Kept for compatibility.
Not used. Kept for compatibility.
Finds the first item in the combo box that matches the specified string.
Finds the first item after the specified index that matches the specified string.
Returns a value indicating whether the specified item is selected.
Throws:
Throws:
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.
Parameter | Type | Description |
---|
Removes all items from the .
Parameter | Type | Description |
---|
Returns: . true if the item is located within the collection; otherwise, false.
Parameter | Type | Description |
---|
Returns: . A that represents the item collection.
Parameter | Type | Description |
---|
Returns: . The zero-based index where the item is located within the collection; otherwise, -1.
The value parameter was null.
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 the specified item from the .
Parameter | Type | Description |
---|
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.
Fired when the collection changes.
Name | Description |
---|
: Returns or sets whether a horizontal scroll bar is displayed in the control.
: Returns or sets whether items are selected incrementally as the user types within a timeout of 1 second.
: Gets or sets the height of the list items. When the value is -1, uses the value set in the theme.
The assigned value is less than -1; or the assigned value is greater than 500.
: Returns the collection of the items contained in this .
: Provides a label related to the control.
: Returns or sets the localizable label associated with this control.
: Returns or sets whether the items in the list are send to the client when the list becomes visible the first time.
: Returns or sets whether the control is read-only.
: Returns or sets whether the item under the pointer gets selected on a right click.
When the right click lands outside of a selected area the selection is not changed regardless of the value of .
: Returns or sets whether the vertical scroll bar is shown at all times.
: Returns or sets the zero-based index of the currently selected item in a .
The assigned value is less than -1 or greater than or equal to the item count.
The property is set to None.
: Returns a collection that contains the zero-based indexes of all currently selected items in the .
: Returns or sets the currently selected item in the .
: Returns a collection containing the currently selected items in the .
: Returns or sets the method in which items are selected in the .
: Returns or sets whether the items in the combo box are sorted.
An attempt was made to sort a that is attached to a data source.
: Returns the instance of associated with this control.
: Returns or sets the index of the first visible item in the .
Unselects all items in the .
Returns the index of the first item in the that starts with the specified string.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first item found; returns -1 if no match is found.
Returns the index of the first item in the beyond the specified index that contains the specified string. The search is not case sensitive.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies .
Parameter | Type | Description |
---|
Returns: . The zero-based index of the first item found; returns -1 if no match is found, or 0 if the text parameter specifies .
Parameter | Type | Description |
---|
Returns: . true if the specified item is currently selected in the ; otherwise, false.
The specified index was outside the range of valid values.
Selects all the items in the .
Selects or clears the selection for the specified item in a .
Parameter | Type | Description |
---|
The specified index was outside the range of valid values.
The property is set to None.
Fired when the property is true and the is first shown.
When is true An application may fill the items at any time prior to the being shown, or while processing the event.
Fired when the value of the property has changed.
Fired when the property or the collection has changed.
Fired when the property has changed.
Fired when a is clicked.
Name | Description |
---|
Name | Description |
---|
item | An object representing the item to add to the collection. |
items | Collection of items to add to the list. |
value | An object representing the item to locate in the collection. |
destination | The object array to copy the collection to. |
index | The location in the destination array to copy the collection to. |
value | An object representing the item to locate in the collection. |
index | The zero-based index location where the item is inserted. |
item | An object representing the item to insert. |
value |
index | The index of the item to remove. |
text |
text |
startIndex | The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control. |
text |
text |
startIndex | The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control. |
index | The zero-based index of the item that determines whether it is selected. |
index |
selected | true to select the specified item; otherwise, false. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Wisej.Web.ListBox SelectedIndexCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the collection containing the indexes to the selected items in a ListBox.
Int32: Returns the number of selected items.
Int32: Returns the index of the selected item.
Selects the item at the specified index.
Clears all the selected items.
Checks if the specified index is in the selected items collection.
Returns: Boolean.
Returns: IEnumerator.
Finds the selected index in the collection.
Returns: Int32.
Unselects the specified index.
The to remove from the list.
Represents the collection of items in a .
The to search for.
The to search for.
The to search for.
The to search for.
The zero-based index of the item in a to select or clear the selection for.
Displays a in which a check box is displayed to the left of each item.
Provides access to the associated with the controls that implement this interface.
Provides access to the property for coontrols that support the read-only mode.
Provides access to the property and event for controls that implement this interface.
All wisej controls derived from the class must implement this interface.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
index
index
The index of the item to check.
destination
index
index
index