-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
LogicalTreeTestHelper
-
Methods
-
GetLogicalChildAt(ILogical, Int32)
GetLogicalChildAt(ILogical, Int32) Method
Definition
Gets a logical child at a specific index, cast to a type.
public static T GetLogicalChildAt<T>(this ILogical logical, int index)
where T : ILogical
Type parameters
- T
- The expected type of the child.
Parameters
- index
- Int32
The index of the child.
Returns
- {T}
- The child at the specified index, cast to the type.