-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
TreeValidatorExtensions
-
Methods
-
HasControlOfType(Visual)
HasControlOfType(Visual) Method
Definition
Validates that the visual tree contains at least one control of the specified type.
public static bool HasControlOfType<T>(this Visual root)
where T : class
Type parameters
Parameters
Returns