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