ListBox.SelectedIndexCollection

Wisej.Web.ListBox SelectedIndexCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

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

public class SelectedIndexCollection : IList, ICollection, IEnumerable

Properties

Count

Int32arrow-up-right: Returns the number of selected items.

IsReadOnly

Booleanarrow-up-right: Returns whether the collection is read-only.

Item(index)

Int32arrow-up-right: 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

index

The index of the item to check.

Returns: Booleanarrow-up-right.

CopyTo(destination, index)

Parameter
Type
Description

GetEnumerator()

Returns: IEnumeratorarrow-up-right.

IndexOf(index)

Finds the selected index in the collection.

Parameter
Type
Description

Returns: Int32arrow-up-right.

Remove(index)

Unselects the specified index.

Parameter
Type
Description

Last updated

Was this helpful?