GetPattern Method

PivotAutomationPeer.GetPattern Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Retrieves the control pattern that is associated with the specified PatternInterface.

Namespace:  Microsoft.Phone.Automation.Peers
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public override Object GetPattern(
	PatternInterface patternInterface
)

Parameters

patternInterface
Type: System.Windows.Automation.Peers.PatternInterface
A value from the PatternInterface enumeration.

Return Value

Type: System.Object
Returns Object.

Windows Phone OS

Supported in: 8.1

Show:
© 2017 Microsoft