Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetPattern Method

UIElementAutomationPeer.GetPattern Method

Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

Namespace:  System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

public override Object GetPattern(
	PatternInterface patternInterface
)

Parameters

patternInterface
Type: System.Windows.Automation.Peers.PatternInterface

A value from the enumeration.

Return Value

Type: System.Object
An object that implements the ISynchronizedInputProvider interface if patternInterface is SynchronizedInput; otherwise, null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft