12 references to Element
UIAutomationClient (11)
MS\Internal\Automation\EventListenerClientSide.cs (2)
129if ((_eventListener.TreeScope & TreeScope.Element) != 0 && Misc.Compare(el, elThis)) 179if ( ( _eventListener.TreeScope & TreeScope.Element ) == 0 )
System\Windows\Automation\Automation.cs (4)
152if ( ( scope & ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.Element | TreeScope.Descendants ) ) 156else if ( ( scope & TreeScope.Element ) == TreeScope.Element )
System\Windows\Automation\AutomationElement.cs (2)
1289if ((scope & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0) 1307if ((scope & TreeScope.Element) != 0)
System\Windows\Automation\CacheRequest.cs (3)
100_scope = TreeScope.Element; 307if ((value & ~(TreeScope.Element | TreeScope.Children | TreeScope.Descendants)) != 0) 410_defaultUiaCacheRequest = new UiaCoreApi.UiaCacheRequest(Automation.ControlViewCondition, TreeScope.Element, new AutomationProperty[] { AutomationElement.RuntimeIdProperty }, new AutomationPattern[] { }, AutomationElementMode.Full);
UIAutomationTypes (1)
System\Windows\Automation\TreeScope.cs (1)
30Subtree = Element | Children | Descendants