-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
LogicalTreeTestHelper
-
Methods
-
GetFirstLogicalChild(ILogical)
GetFirstLogicalChild(ILogical) Method
Definition
Gets the first logical child of a specific type.
public static T? GetFirstLogicalChild<T>(this ILogical logical)
where T : class
Type parameters
- T
- The type of child to get.
Parameters
Returns
- {T}
- The first child of the specified type, or null if not found.