ComboBox.ObjectCollection
Wisej.Web.ComboBox ObjectCollection
Last updated
Was this helpful?
Wisej.Web.ComboBox ObjectCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the collection of items in a Wisej.Web.ComboBox control.
Int32: Returns the number of items in the collection.
Boolean: Returns or sets the dirty state for the list. When true, the list of items must be sent back to the client.
Boolean: Returns or sets the new state for the list. When true, the entire list is cleared and reloaded on the client.
Boolean: Returns a value indicating whether this collection can be modified.
Object: Retrieves the item at the specified index within the collection.
Throws:
ArgumentOutOfRangeException The index was less than zero; or the index was greater of equal to the count of items in the collection.
Adds an item to the list of items for a ComboBox.
Returns: Int32. The zero-based index of the item in the collection.
Throws:
ArgumentNullException The item parameter was null.
Adds a collection of items to the list.
Removes all items from the ComboBox.
Removes all the items from the list without checking for the data source binding.
Determines if the specified item is located within the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
Throws:
ArgumentNullException value is null.
Copies the entire collection into an existing array of objects at a specified location within the array.
Returns an instance of the Element wrapper class.
Returns: Element.
Adds a collection of items to the list.
Returns an enumerator that can be used to iterate through the item collection.
Returns: IEnumerator. A IEnumerator that represents the item collection.
Returns the element at the index.
Returns: Element.
Returns the real index in the collection accounting for the deleted items that have not been committed to the client yet.
Returns: Int32.
Retrieves the index within the collection of the specified item.
Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.
Throws:
ArgumentNullException The value parameter was null.
Retrieves the index within the collection of the specified item.
Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.
Throws:
ArgumentNullException The element parameter was null.
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.
Fires the CollectionChanged event.
action
One of CollectionChangeAction indicating the reason the collection has changed.
Removes the specified item from the ComboBox.
Removes an item from the ComboBox 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.
Renders the list to the json definition for the client.
Returns: Object.
Changes a single element in the list.
CollectionChangeEventHandler Fired when the collection changes.