11 references to Descendants
UIAutomationClient (10)
MS\Internal\Automation\CacheHelper.cs (1)
89
bool askedForDescendants = (cacheRequest.TreeScope & TreeScope.
Descendants
) != 0;
MS\Internal\Automation\EventListenerClientSide.cs (2)
136
if (((_eventListener.TreeScope & TreeScope.Children) != 0 || (_eventListener.TreeScope & TreeScope.
Descendants
) != 0))
152
if ((_eventListener.TreeScope & TreeScope.
Descendants
) != 0 && IsChildOf(elThis, el))
System\Windows\Automation\Automation.cs (4)
143
if ( ( scope & TreeScope.
Descendants
) == TreeScope.
Descendants
)
151
if ( ( scope & ( TreeScope.Ancestors | TreeScope.Element | TreeScope.
Descendants
) ) == ( TreeScope.Ancestors | TreeScope.Element | TreeScope.
Descendants
) )
System\Windows\Automation\AutomationElement.cs (2)
1288
if ((scope & ~(TreeScope.Element | TreeScope.Children | TreeScope.
Descendants
)) != 0)
1299
if ((scope & TreeScope.
Descendants
) != 0)
System\Windows\Automation\CacheRequest.cs (1)
306
if ((value & ~(TreeScope.Element | TreeScope.Children | TreeScope.
Descendants
)) != 0)
UIAutomationTypes (1)
System\Windows\Automation\TreeScope.cs (1)
29
Subtree = Element | Children |
Descendants