-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
LogicalTreeTestHelper
-
Methods
-
GetItemAt(ItemsControl, Int32)
GetItemAt(ItemsControl, Int32) Method
Definition
Gets an item at a specific index from an ItemsControl.
public static T? GetItemAt<T>(this ItemsControl itemsControl, int index)
where T : class
Type parameters
- T
- The expected type of the item.
Parameters
- index
- Int32
The index of the item.
Returns
- {T}
- The item at the specified index.