Back to Devexpress

SelectedItemCollection Class

aspnet-devexpress-dot-web-a42afa09.md

latest2.6 KB
Original Source

SelectedItemCollection Class

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

The following members return SelectedItemCollection objects:

Remarks

Each list box editor holds its selected items within a collection represented by an instance of the SelectedItemCollection class, and can be accessed via the editor’s ASPxListBox.SelectedItems 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 SelectedItemCollection

See Also

SelectedItemCollection Members

ListEditItem

SelectedItems

GetSelectedIndices

GetSelectedValues

GetSelectedItems

DevExpress.Web Namespace