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