InvokePattern
InvokePattern is a UI Automation pattern that represents a control that can be invoked, such as a button or menu item. UI Automation clients use this pattern to activate or perform the default action of a control. For example, a client might use InvokePattern to simulate a user clicking a button.
The InvokePattern has a single method, Invoke. Calling this method performs the control's default action. Controls
UI Automation providers implement InvokePattern to expose the invokable nature of their controls. This allows assistive
When Invoke is called, the control should perform its primary action. If the action is already in