HasControlOfType(Visual) Method

Definition

Assembly HeadlessTestingFramework.dll

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

T

Parameters

Returns