Tab
A newer version of this page is available. Switch to the current version.

SelectedIndexCollection Class

Represents a collection of selected items' indices within a list box editor.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class SelectedIndexCollection :
    SelectedItemAndIndexCollectionBase,
    ICollection,
    IEnumerable
Public Class SelectedIndexCollection
    Inherits SelectedItemAndIndexCollectionBase
    Implements ICollection,
               IEnumerable

Related API Members

The following members accept/return SelectedIndexCollection objects:

Remarks

Each list box editor holds its selected items's indices within a collection represented by an instance of the SelectedIndexCollection class, and can be accessed via the editor's ASPxListBox.SelectedIndices property. Each item of the collection is represented by a ListEditItem object. Individual items can be accessed using indexer notation or by their values using these specific methods: ASPxClientListBox.GetSelectedIndices, ASPxClientListBox.GetSelectedValues, and ASPxClientListBox.GetSelectedItems client methods.

Inheritance

See Also