Click or drag to resize
Ranorex

IElementTopLevelAncestor Property

The top-level ancestor of the element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
Element TopLevelAncestor { get; }

Property Value

Type: Element
Remarks
Is null if the element is a root element.
See Also