1 instantiation of InvokePattern
UIAutomationClient (1)
System\Windows\Automation\InvokePattern.cs (1)
108return new InvokePattern(el, hPattern);
52 references to InvokePattern
UIAutomationClient (2)
MS\Internal\Automation\Schema.cs (2)
479new AutomationPatternInfo( InvokePattern.Pattern, null, new WrapObjectClientSide(InvokePattern.Wrap) ),
UIAutomationClientSideProviders (50)
MS\Internal\AutomationProxies\EventManager.cs (15)
318IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 326AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 332IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 338AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 344IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 350AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 361AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 519_objectIdWindow.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleWindowInvokedEvent)); 538_objectIdClient.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleInvokedEvent)); 553_objectIdScroll.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleScrollInvokedEvent)); 565_objectIdMenu.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleMenuItemInvokedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
852if(pattern == InvokePattern.Pattern && !String.IsNullOrEmpty(_acc.DefaultAction)) 1307new CtrlTypePatterns(ControlType.Button, InvokePattern.Pattern), 1312new CtrlTypePatterns(ControlType.Hyperlink, InvokePattern.Pattern), 1315new CtrlTypePatterns(ControlType.MenuItem, InvokePattern.Pattern), 1320new CtrlTypePatterns(ControlType.SplitButton, InvokePattern.Pattern)
MS\Internal\AutomationProxies\NonClientArea.cs (1)
687if (idProp == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
442else if (idEvent == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (3)
185if (idProp == InvokePattern.InvokedEvent) 231if (iid == InvokePattern.Pattern && _type == ButtonType.PushButton) 294if (idEvent == InvokePattern.InvokedEvent && Environment.OSVersion.Version.Major >= 6)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
909if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (2)
83if (idEvent == InvokePattern.InvokedEvent) 99return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (3)
69if (idProp == InvokePattern.InvokedEvent) 133if (idEvent == InvokePattern.InvokedEvent) 381return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
512if (eventId == InvokePattern.InvokedEvent) 541if (eventId == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
62if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
65if (iid == InvokePattern.Pattern && WindowsListView.ListViewInvokable(_hwnd))
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
73if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsMenu.cs (3)
1121new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent) 1229else if (iid == InvokePattern.Pattern && _type == MenuItemType.Command) 2898if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
102if (iid == InvokePattern.Pattern && (WindowsScrollBar.ScrollBarItem) _item != WindowsScrollBar.ScrollBarItem.Thumb)
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
395return _item != (int) WindowsSlider.SItem.Thumb && iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
96if (idProp == InvokePattern.InvokedEvent) 397if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
272if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
440if (iid == InvokePattern.Pattern && !_isToggleButton)
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
86if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
816else if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
68&& idProp == InvokePattern.InvokedEvent) 94button.DispatchEvents(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent, idObject, idChild); 464return iid == InvokePattern.Pattern ? this : null;