12 references to Element
UIAutomationClient (11)
MS\Internal\Automation\EventListenerClientSide.cs (2)
128
if ((_eventListener.TreeScope & TreeScope.
Element
) != 0 && Misc.Compare(el, elThis))
178
if ( ( _eventListener.TreeScope & TreeScope.
Element
) == 0 )
System\Windows\Automation\Automation.cs (4)
151
if ( ( scope & ( TreeScope.Ancestors | TreeScope.
Element
| TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.
Element
| TreeScope.Descendants ) )
155
else if ( ( scope & TreeScope.
Element
) == TreeScope.
Element
)
System\Windows\Automation\AutomationElement.cs (2)
1288
if ((scope & ~(TreeScope.
Element
| TreeScope.Children | TreeScope.Descendants)) != 0)
1306
if ((scope & TreeScope.
Element
) != 0)
System\Windows\Automation\CacheRequest.cs (3)
99
_scope = TreeScope.
Element
;
306
if ((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)
29
Subtree =
Element
| Children | Descendants