ListBox.SelectedIndexCollection
Wisej.Web.ListBox SelectedIndexCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents the collection containing the indexes to the selected items in a ListBox.
public class SelectedIndexCollection : IList, ICollection, IEnumerable
Properties
Count

Int32: Returns the number of selected items.
IsReadOnly

Boolean: Returns whether the collection is read-only.
Item(index)

Int32: Returns the index of the selected item.
Methods
Add(index)

Selects the item at the specified index.
Parameter
Type
Description
Clear()

Clears all the selected items.
Contains(index)

Checks if the specified index is in the selected items collection.
Parameter
Type
Description
Returns: Boolean.
CopyTo(destination, index)

GetEnumerator()

Returns: IEnumerator.
IndexOf(index)

Finds the selected index in the collection.
Parameter
Type
Description
Returns: Int32.
Remove(index)

Unselects the specified index.
Parameter
Type
Description
Last updated
Was this helpful?