12 references to Element
UIAutomationClient (11)
MS\Internal\Automation\EventListenerClientSide.cs (2)
128if ((_eventListener.TreeScope & TreeScope.Element) != 0 && Misc.Compare(el, elThis)) 178if ( ( _eventListener.TreeScope & TreeScope.Element ) == 0 )
System\Windows\Automation\Automation.cs (4)
151if ( ( scope & ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) 155else if ( ( scope & TreeScope.Element ) == TreeScope.Element )
System\Windows\Automation\AutomationElement.cs (2)
1288if ((scope & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0) 1306if ((scope & TreeScope.Element) != 0)
System\Windows\Automation\CacheRequest.cs (3)
99_scope = TreeScope.Element; 306if ((value & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0) 409_defaultUiaCacheRequest = new UiaCoreApi.UiaCacheRequest(Automation.ControlViewCondition, TreeScope.Element, new AutomationProperty[] { AutomationElement.RuntimeIdProperty }, Array.Empty<AutomationPattern>(), AutomationElementMode.Full);
UIAutomationTypes (1)
System\Windows\Automation\TreeScope.cs (1)
29Subtree = Element | Children | Descendants