Back to Devexpress

SelectedIndexCollection Class

aspnet-devexpress-dot-web-2b2e0707.md

latest2.3 KB
Original Source

SelectedIndexCollection Class

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

The following members 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 the following client methods: ASPxClientListBox.GetSelectedIndices, ASPxClientListBox.GetSelectedValues, and ASPxClientListBox.GetSelectedItems methods.

Implements

ICollection

IEnumerable

Inheritance

Object SelectedItemAndIndexCollectionBase SelectedIndexCollection

See Also

SelectedIndexCollection Members

DevExpress.Web Namespace