Table of Contents

Method GetItemAt

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

GetItemAt(int)

Retrieve item at the given zero-based index in this CollectionView.

public virtual object GetItemAt(int index)

Parameters

index int

Returns

object

Remarks

The index is evaluated with any SortDescriptions or Filter being set on this CollectionView. If the underlying collection is only of type IEnumerable, this method is a O(N) operation.

When deriving from CollectionView, override this method to provide a more efficient implementation.

Exceptions

ArgumentOutOfRangeException

Thrown if index is out of range