1 instantiation of InvokePattern
UIAutomationClient (1)
System\Windows\Automation\InvokePattern.cs (1)
106return new InvokePattern(el, hPattern);
52 references to InvokePattern
UIAutomationClient (2)
MS\Internal\Automation\Schema.cs (2)
468new AutomationPatternInfo( InvokePattern.Pattern, null, new WrapObjectClientSide(InvokePattern.Wrap) ),
UIAutomationClientSideProviders (50)
MS\Internal\AutomationProxies\EventManager.cs (15)
312IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 320AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 326IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 332AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 338IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 344AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 355AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 513_objectIdWindow.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleWindowInvokedEvent)); 532_objectIdClient.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleInvokedEvent)); 547_objectIdScroll.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleScrollInvokedEvent)); 559_objectIdMenu.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleMenuItemInvokedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
847if(pattern == InvokePattern.Pattern && !String.IsNullOrEmpty(_acc.DefaultAction)) 1300new CtrlTypePatterns(ControlType.Button, InvokePattern.Pattern), 1305new CtrlTypePatterns(ControlType.Hyperlink, InvokePattern.Pattern), 1308new CtrlTypePatterns(ControlType.MenuItem, InvokePattern.Pattern), 1313new CtrlTypePatterns(ControlType.SplitButton, InvokePattern.Pattern)
MS\Internal\AutomationProxies\NonClientArea.cs (1)
683if (idProp == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
432else if (idEvent == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (3)
180if (idProp == InvokePattern.InvokedEvent) 226if (iid == InvokePattern.Pattern && _type == ButtonType.PushButton) 289if (idEvent == InvokePattern.InvokedEvent && Environment.OSVersion.Version.Major >= 6)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
905if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (2)
74if (idEvent == InvokePattern.InvokedEvent) 90return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (3)
66if (idProp == InvokePattern.InvokedEvent) 130if (idEvent == InvokePattern.InvokedEvent) 378return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
509if (eventId == InvokePattern.InvokedEvent) 538if (eventId == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
61if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
60if (iid == InvokePattern.Pattern && WindowsListView.ListViewInvokable(_hwnd))
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
69if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsMenu.cs (3)
1115new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent) 1223else if (iid == InvokePattern.Pattern && _type == MenuItemType.Command) 2890if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
99if (iid == InvokePattern.Pattern && (WindowsScrollBar.ScrollBarItem) _item != WindowsScrollBar.ScrollBarItem.Thumb)
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
392return _item != (int) WindowsSlider.SItem.Thumb && iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
92if (idProp == InvokePattern.InvokedEvent) 394if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
268if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
437if (iid == InvokePattern.Pattern && !_isToggleButton)
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
86if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
814else if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
64&& idProp == InvokePattern.InvokedEvent) 90button.DispatchEvents(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent, idObject, idChild); 460return iid == InvokePattern.Pattern ? this : null;