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