FrameworkElementCastAsT Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Returns this framework element as a strongly-typed control without enforcing tag name to match the type. This functions gives you free casting abilities between types.

Namespace:  ArtOfTest.WebAii.Silverlight
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public T CastAs<T>()
where T : IFrameworkElement

Type Parameters

T
The type to cast against.

Return Value

Type: T
The control type

Implements

IFrameworkElementCastAsT
See Also

Reference