11 references to TreeScope
UIAutomationClient (11)
MS\Internal\Automation\ClientEventManager.cs (1)
144
ec.EventHandle = UiaCoreApi.UiaAddEvent(rawEl.RawNode, l.EventId.Id, ec.CallbackDelegate, l.
TreeScope
, PropertyArrayToIntArray(l.Properties), l.CacheRequest);
MS\Internal\Automation\EventListenerClientSide.cs (10)
124
if ((_eventListener.
TreeScope
& TreeScope.Subtree) == TreeScope.Subtree &&
139
if ((_eventListener.
TreeScope
& TreeScope.Element) != 0 && Misc.Compare(el, elThis))
147
if (((_eventListener.
TreeScope
& TreeScope.Children) != 0 || (_eventListener.
TreeScope
& TreeScope.Descendants) != 0))
155
if (((_eventListener.
TreeScope
& TreeScope.Parent) != 0 || (_eventListener.
TreeScope
& TreeScope.Ancestors) != 0))
163
if ((_eventListener.
TreeScope
& TreeScope.Descendants) != 0 && IsChildOf(elThis, el))
169
if ((_eventListener.
TreeScope
& TreeScope.Ancestors) != 0 && IsChildOf(el, elThis))
181
if ((_eventListener.
TreeScope
& TreeScope.Subtree) == TreeScope.Subtree &&
189
if ( ( _eventListener.
TreeScope
& TreeScope.Element ) == 0 )