ItemsRepeater.

TryGetElement(int) Method

Summary

Retrieves the realized UIElement that corresponds to the item at the specified index in the data source.
Namespace
Avalonia.Controls
Containing Type
ItemsRepeater

Syntax

public IControl TryGetElement(int index)

Parameters

Name Type Description
index int The index of the item.

Return Value

Type Description
IControl he UIElement that corresponds to the item at the specified index if the item is realized, or null if the item is not realized.