107 references to WinEventTracker
UIAutomationClientSideProviders (107)
MS\Internal\AutomationProxies\MSAAEventDispatcher.cs (2)
79WinEventTracker.GetCallbackQueue().PostSyncWorkItem(new QueueItem.MSAAWinEventItem(StartListening)); 145WinEventTracker.GetCallbackQueue().PostSyncWorkItem(new QueueItem.MSAAWinEventItem(StopListening));
MS\Internal\AutomationProxies\NonClientArea.cs (1)
31_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\ProxyHwnd.cs (16)
72ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents; 88WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 101ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents; 117WinEventTracker.RemoveToNotificationList(_hwnd, aEvents, null); 336internal WinEventTracker.ProxyRaiseEvents _createOnEvent = null; 400protected virtual ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 407return new WinEventTracker.EvtIdProperty[2] 417return new WinEventTracker.EvtIdProperty [2] 433return new WinEventTracker.EvtIdProperty[4] { 442return new WinEventTracker.EvtIdProperty[3] { 450return new WinEventTracker.EvtIdProperty[2] { 457return ReadOnlySpan<WinEventTracker.EvtIdProperty>.Empty; 461return new WinEventTracker.EvtIdProperty [1] { new(idWinEvent, idEvent) }; 509private ReadOnlySpan<WinEventTracker.EvtIdProperty> PropertyToWinEvent(AutomationProperty[] aProps) 511List<WinEventTracker.EvtIdProperty> automationEvents = new(16); 519automationEvents.Add(new WinEventTracker.EvtIdProperty(evtId[i], idProp));
MS\Internal\AutomationProxies\QueueProcessor.cs (4)
279internal WinEventItem (ref WinEventTracker.EventHookParams hp, WinEventTracker.StartStopDelegate ssd) 311private WinEventTracker.EventHookParams _hp; 314private WinEventTracker.StartStopDelegate _ssd;
MS\Internal\AutomationProxies\WindowsAltTab.cs (1)
35_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
MS\Internal\AutomationProxies\WindowsButton.cs (3)
40_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 285protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 291return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventObjectInvoke, idEvent) };
MS\Internal\AutomationProxies\WindowsComboBox.cs (10)
50_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 306ReadOnlySpan<WinEventTracker.EvtIdProperty> editPortionEvents = CreateEditPortionEvents(aidProps); 310WinEventTracker.AddToNotificationList(cbInfo.hwndItem, new WinEventTracker.ProxyRaiseEvents(EditPortionEvents), editPortionEvents); 342ReadOnlySpan<WinEventTracker.EvtIdProperty> editPortionEvents = CreateEditPortionEvents(aidProps); 346WinEventTracker.RemoveToNotificationList(cbInfo.hwndItem, editPortionEvents, null); 798private static ReadOnlySpan<WinEventTracker.EvtIdProperty> CreateEditPortionEvents(AutomationProperty[] aidProps) 812return ReadOnlySpan<WinEventTracker.EvtIdProperty>.Empty; 815WinEventTracker.EvtIdProperty[] editPortionEvents = new WinEventTracker.EvtIdProperty[c];
MS\Internal\AutomationProxies\WindowsEditBox.cs (2)
58_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 253protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent)
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (3)
32_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents); 69protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 73return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventSystemCaptureEnd, idEvent) };
MS\Internal\AutomationProxies\WindowsHyperlink.cs (3)
34_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents); 125protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 129return new WinEventTracker.EvtIdProperty[1] { new(NativeMethods.EventSystemCaptureEnd, idEvent) };
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
38_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsListBox.cs (4)
44_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 454ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvtIdProperties = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, SelectionPattern.IsSelectionRequiredProperty)]; 456WinEventTracker.RemoveToNotificationList(hwnd, aEvtIdProperties, null);
MS\Internal\AutomationProxies\WindowsListView.cs (19)
60_groupEvents = new WinEventTracker.EvtIdProperty [3]; 84_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 87WinEventTracker.AddToNotificationList(_hwnd, new WinEventTracker.ProxyRaiseEvents (WindowsListView.GroupSpecificEvents), _groupEvents); 499ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty)]; 500WinEventTracker.AddToNotificationList(hwndHeader, header._createOnEvent, aEvents); 508ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId)]; 509WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 528ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectCreate, TablePattern.ColumnHeadersProperty)]; 529WinEventTracker.RemoveToNotificationList(hwndHeader, aEvents, header._createOnEvent); 537ReadOnlySpan<WinEventTracker.EvtIdProperty> aEvents = [new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectSelection, eventId)]; 538WinEventTracker.AddToNotificationList(_hwnd, _createOnEvent, aEvents); 1152WinEventTracker.RemoveToNotificationList(hwnd, _groupEvents, null); 1168WinEventTracker.RemoveToNotificationList(hwnd, _groupEvents, null); 2020private readonly static WinEventTracker.EvtIdProperty [] _groupEvents;
MS\Internal\AutomationProxies\WindowsMenu.cs (9)
460WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(MenuEvents), _menuEvents); 481WinEventTracker.RemoveToNotificationList(IntPtr.Zero, _menuEvents, new WinEventTracker.ProxyRaiseEvents(MenuEvents)); 1112private readonly static WinEventTracker.EvtIdProperty [] _menuEvents = new WinEventTracker.EvtIdProperty [] { 1113new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty), 1114new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty), 1115new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
30_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
33_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
45_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
51_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
37_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSpinner.cs (1)
37_createOnEvent = new WinEventTracker.ProxyRaiseEvents(RaiseEvents);
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
41_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
38_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
41_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsTab.cs (6)
46_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 53_upDownEvents = new WinEventTracker.EvtIdProperty [1]; 319WinEventTracker.AddToNotificationList(upDownHwnd, new WinEventTracker.ProxyRaiseEvents(UpDownControlRaiseEvents), _upDownEvents); 336WinEventTracker.RemoveToNotificationList(upDownHwnd, _upDownEvents, null); 878private readonly static WinEventTracker.EvtIdProperty[] _upDownEvents;
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
36_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WindowsTooltip.cs (8)
34_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 90WinEventTracker.AddToNotificationList(IntPtr.Zero, new WinEventTracker.ProxyRaiseEvents(OnToolTipEvents), _toolTipEventIds); 107WinEventTracker.RemoveToNotificationList(IntPtr.Zero, _toolTipEventIds, new WinEventTracker.ProxyRaiseEvents(OnToolTipEvents)); 353private readonly static WinEventTracker.EvtIdProperty[] _toolTipEventIds = new WinEventTracker.EvtIdProperty[] 355new WinEventTracker.EvtIdProperty(NativeMethods.EVENT_OBJECT_HIDE, 0),
MS\Internal\AutomationProxies\WindowsTreeView.cs (3)
37_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents); 346protected override ReadOnlySpan<WinEventTracker.EvtIdProperty> EventToWinEvent(AutomationEvent idEvent) 350return new WinEventTracker.EvtIdProperty[3]
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
34_createOnEvent = new WinEventTracker.ProxyRaiseEvents (RaiseEvents);
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
99_createOnEvent = new WinEventTracker.ProxyRaiseEvents(WindowsUpDown.RaiseEvents);