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