ListBox.SelectedIndexCollection

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.

public class SelectedIndexCollection : IList, ICollection, IEnumerable

Properties

Count

Int32: Returns the number of selected items.

IsReadOnly

Boolean:

Item(index)

Int32: Returns the index of the selected item.

Methods

Add(index)

Selects the item at the specified index.

Parameter
Type
Description

index

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: Boolean.

CopyTo(destination, index)

Parameter
Type
Description

destination

index

GetEnumerator()

Returns: IEnumerator.

IndexOf(index)

Finds the selected index in the collection.

Parameter
Type
Description

index

Returns: Int32.

Remove(index)

Unselects the specified index.

Parameter
Type
Description

index

Last updated

Was this helpful?