ListCollectionView.GetItemAt Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Retrieves the item at the specified position in the view.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override object GetItemAt(
	int index


Type: System.Int32

The zero-based index at which the item is located.

Return Value

Type: System.Object

The item at the specified position in the view.

Exception Condition

If index is out of range.

This method evaluates the index with any SortDescriptions, GroupDescriptions, Filter, and CustomSort properties that are set on the view.

.NET Framework
Available since 3.0
Return to top