GetFirst() Method

Definition

Assembly HeadlessTestingFramework.dll

Gets the first matching control of a specific type, throwing if not found.

public T GetFirst<T>()
    where T : class

Type parameters

T
The type to return.

Returns

{T}
The first matching control.