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