11 references to Descendants
UIAutomationClient (10)
MS\Internal\Automation\CacheHelper.cs (1)
90bool askedForDescendants = (cacheRequest.TreeScope & TreeScope.Descendants) != 0;
MS\Internal\Automation\EventListenerClientSide.cs (2)
137if (((_eventListener.TreeScope & TreeScope.Children) != 0 || (_eventListener.TreeScope & TreeScope.Descendants) != 0)) 153if ((_eventListener.TreeScope & TreeScope.Descendants) != 0 && IsChildOf(elThis, el))
System\Windows\Automation\Automation.cs (4)
144if ( ( scope & TreeScope.Descendants ) == TreeScope.Descendants ) 152if ( ( scope & ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) )
System\Windows\Automation\AutomationElement.cs (2)
1289if ((scope & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0) 1300if ((scope & TreeScope.Descendants) != 0)
System\Windows\Automation\CacheRequest.cs (1)
307if ((value & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0)
UIAutomationTypes (1)
System\Windows\Automation\TreeScope.cs (1)
30Subtree = Element | Children | Descendants