Export (0) Print
Expand All

InvokePattern Class

Represents controls that initiate or perform a single, unambiguous action and do not maintain state when activated.

Namespace: System.Windows.Automation
Assembly: UIAutomationClient (in uiautomationclient.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public class InvokePattern : BasePattern
public class InvokePattern extends BasePattern
public class InvokePattern extends BasePattern
Not applicable.

Controls support InvokePattern if the same behavior is not exposed through another control pattern. For example, if the Invoke method on a control performs the same action as the Expand or Collapse method, the control will not support InvokePattern.

UI Automation elements that represent controls such as check boxes and radio buttons, which maintain a state, instead support TogglePattern or SelectionItemPattern.

System.Object
   System.Windows.Automation.BasePattern
    System.Windows.Automation.InvokePattern

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft