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 item at the given index or null if the index is out of bounds.