2 references to GetTopLevelAncestor
UIAutomationClient (2)
MS\Internal\Automation\ClickablePoint.cs (2)
193AutomationElement hitTargetAncestor = GetTopLevelAncestor(hitTarget); 194if ( GetTopLevelAncestor(target) == hitTargetAncestor || hitTargetAncestor == null )