Click or drag to resize
Ranorex

IElementIsAncestor Method

Determines whether the current element is an ancestor of the specified child element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
bool IsAncestor(
	Element child
)

Parameters

child
Type: Ranorex.CoreElement
The child element to test.

Return Value

Type: Boolean
true if the this element is an ancestor; otherwise, false.
See Also