1 instantiation of InvokePattern
UIAutomationClient (1)
System\Windows\Automation\InvokePattern.cs (1)
123return new InvokePattern(el, hPattern);
52 references to InvokePattern
UIAutomationClient (2)
MS\Internal\Automation\Schema.cs (2)
453new AutomationPatternInfo( InvokePattern.Pattern, null, new WrapObjectClientSide(InvokePattern.Wrap) ),
UIAutomationClientsideProviders (50)
MS\Internal\AutomationProxies\EventManager.cs (15)
325IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 333AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 339IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 345AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 351IInvokeProvider invoke = el.GetPatternProvider(InvokePattern.Pattern) as IInvokeProvider; 357AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 368AutomationInteropProvider.RaiseAutomationEvent(InvokePattern.InvokedEvent, el, new AutomationEventArgs(InvokePattern.InvokedEvent)); 526_objectIdWindow.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleWindowInvokedEvent)); 545_objectIdClient.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleInvokedEvent)); 560_objectIdScroll.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleScrollInvokedEvent)); 572_objectIdMenu.Add(InvokePattern.InvokedEvent, new RaiseEvent(HandleMenuItemInvokedEvent));
MS\Internal\AutomationProxies\MSAANativeProvider.cs (5)
872if(pattern == InvokePattern.Pattern && !String.IsNullOrEmpty(_acc.DefaultAction)) 1334new CtrlTypePatterns(ControlType.Button, InvokePattern.Pattern), 1339new CtrlTypePatterns(ControlType.Hyperlink, InvokePattern.Pattern), 1342new CtrlTypePatterns(ControlType.MenuItem, InvokePattern.Pattern), 1347new CtrlTypePatterns(ControlType.SplitButton, InvokePattern.Pattern)
MS\Internal\AutomationProxies\NonClientArea.cs (1)
684if (idProp == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
453else if (idEvent == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsButton.cs (3)
196if (idProp == InvokePattern.InvokedEvent) 242if (iid == InvokePattern.Pattern && _type == ButtonType.PushButton) 305if (idEvent == InvokePattern.InvokedEvent && Environment.OSVersion.Version.Major >= 6)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
922if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (2)
94if (idEvent == InvokePattern.InvokedEvent) 110return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsHyperlink.cs (3)
75if (idProp == InvokePattern.InvokedEvent) 140if (idEvent == InvokePattern.InvokedEvent) 391return iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsListView.cs (2)
519if (eventId == InvokePattern.InvokedEvent) 548if (eventId == InvokePattern.InvokedEvent)
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
64if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsListViewItem.cs (1)
72if (iid == InvokePattern.Pattern && WindowsListView.ListViewInvokable(_hwnd))
MS\Internal\AutomationProxies\WindowsListViewItemStartMenu.cs (1)
80if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsMenu.cs (3)
1133new WinEventTracker.EvtIdProperty(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent) 1241else if (iid == InvokePattern.Pattern && _type == MenuItemType.Command) 2910if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsScrollBarBits.cs (1)
108if (iid == InvokePattern.Pattern && (WindowsScrollBar.ScrollBarItem) _item != WindowsScrollBar.ScrollBarItem.Thumb)
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
408return _item != (int) WindowsSlider.SItem.Thumb && iid == InvokePattern.Pattern ? this : null;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
105if (idProp == InvokePattern.InvokedEvent) 406if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTitleBar.cs (1)
280if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsToolbar.cs (1)
448if (iid == InvokePattern.Pattern && !_isToggleButton)
MS\Internal\AutomationProxies\WindowsToolbarItemAsMenuItem.cs (1)
92if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsTreeView.cs (1)
825else if (iid == InvokePattern.Pattern)
MS\Internal\AutomationProxies\WindowsUpDown.cs (3)
81&& idProp == InvokePattern.InvokedEvent) 107button.DispatchEvents(NativeMethods.EventObjectInvoke, InvokePattern.InvokedEvent, idObject, idChild); 477return iid == InvokePattern.Pattern ? this : null;