5 references to Ancestors
UIAutomationClient (5)
MS\Internal\Automation\EventListenerClientSide.cs (2)
145if (((_eventListener.TreeScope & TreeScope.Parent) != 0 || (_eventListener.TreeScope & TreeScope.Ancestors) != 0)) 159if ((_eventListener.TreeScope & TreeScope.Ancestors) != 0 && IsChildOf(el, elThis))
System\Windows\Automation\Automation.cs (3)
152if ( ( scope & ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) 299TreeScope.Subtree | TreeScope.Ancestors,