Pattern Field

SelectionPattern.Pattern Field


Identifies the SelectionPattern.GTMT

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

public static readonly AutomationPattern Pattern

This identifier is used by applications. should use the equivalent field in SelectionPatternIdentifiers.GTMTGTMT

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

In the following example, a SelectionPattern is obtained from an AutomationElement.GTMT

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft