ItemsControl.

ElementAt(IEnumerable, int) Method

Summary

Gets the item at the specified index in a collection.
Namespace
Avalonia.Controls
Containing Type
ItemsControl

Syntax

protected static object ElementAt(IEnumerable items, int index)

Parameters

Name Type Description
items IEnumerable The collection.
index int The index.

Return Value

Type Description
object The index of the item or -1 if the item was not found.