-
Home
-
API
-
Avalonia.HeadlessTestingFramework
-
TemplateComparer
-
Methods
-
IsTemplatePartOfType(TemplatedControl, String)
IsTemplatePartOfType(TemplatedControl, String) Method
Definition
Validates that a template part is of the expected type.
public static bool IsTemplatePartOfType<T>(TemplatedControl control, string partName)
where T : class
Type parameters
Parameters
Returns
- Boolean
- True if the part exists and is of the correct type.