-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
VisualTreeTestHelper
-
Methods
-
Contains(Visual)
Contains(Visual) Method
Definition
Checks if a visual contains a descendant of a specific type.
public static bool Contains<T>(this Visual root)
where T : class
Type parameters
Parameters
Returns
- Boolean
- True if a descendant of the specified type exists.