-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
VisualTreeTestHelper
-
Methods
-
GetAncestors(Visual)
GetAncestors(Visual) Method
Definition
Gets all ancestors of a specific type.
public static IEnumerable<T> GetAncestors<T>(this Visual visual)
where T : class
Type parameters
- T
- The type of ancestors to find.
Parameters
Returns