InvokePattern.Pattern Field

 

Identifies the InvokePattern control pattern.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

static val Pattern : AutomationPattern

This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent field in InvokePatternIdentifiers.

The pattern identifier is passed to methods such as GetCurrentPattern to retrieve the control pattern of interest from the specified AutomationElement.

In the following example an InvokePattern control pattern is obtained from a control and the Invoke method is called.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: