12 references to Element
UIAutomationClient (11)
MS\Internal\Automation\EventListenerClientSide.cs (2)
129
if ((_eventListener.TreeScope & TreeScope.
Element
) != 0 && Misc.Compare(el, elThis))
179
if ( ( _eventListener.TreeScope & TreeScope.
Element
) == 0 )
System\Windows\Automation\Automation.cs (4)
152
if ( ( scope & ( TreeScope.Ancestors | TreeScope.
Element
| TreeScope.Descendants ) ) == ( TreeScope.Ancestors | TreeScope.
Element
| TreeScope.Descendants ) )
156
else if ( ( scope & TreeScope.
Element
) == TreeScope.
Element
)
System\Windows\Automation\AutomationElement.cs (2)
1289
if ((scope & ~(TreeScope.
Element
| TreeScope.Children | TreeScope.Descendants)) != 0)
1307
if ((scope & TreeScope.
Element
) != 0)
System\Windows\Automation\CacheRequest.cs (3)
100
_scope = TreeScope.
Element
;
307
if ((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)
30
Subtree =
Element
| Children | Descendants