Skip to main content
Version: 4.1

SelectedIndexCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents the collection containing the indexes to the selected items in a ListBox.

public class SelectedIndexCollection : IList, ICollection, IEnumerable

Properties​

Instance member Count​

Int32: Returns the number of selected items.

Instance member IsReadOnly​

Boolean: Returns whether the collection is read-only.

Instance member Item(index)​

Int32: Returns the index of the selected item.

Methods​

Instance member Add(index)​

Selects the item at the specified index.

ParameterTypeDescription
indexInt32

Instance member Clear()​

Clears all the selected items.

Instance member Contains(index)​

Checks if the specified index is in the selected items collection.

ParameterTypeDescription
indexInt32The index of the item to check.

Returns: Boolean.

Instance member CopyTo(destination, index)​

ParameterTypeDescription
destinationArray
indexInt32

Instance member GetEnumerator()​

Returns: IEnumerator.

Instance member IndexOf(index)​

Finds the selected index in the collection.

ParameterTypeDescription
indexInt32

Returns: Int32.

Instance member Remove(index)​

Unselects the specified index.

ParameterTypeDescription
indexInt32