HtmlControlParentTContainerControl Method

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Return the parent HtmlContainerControl of the desired type that this HtmlControl is contained inside of. If a parent HtmlControl of the desired type is not found, will return null.

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)

public virtual TContainerControl Parent<TContainerControl>()
where TContainerControl : new(), HtmlContainerControl

Type Parameters

The desired parent container HtmlControl type to find and return.

Return Value

Type: TContainerControl
The parent container HtmlControl or null if desired type is not found.
See Also