RadControls for WPF

Returns the control pattern for the item that is associated with this ItemAutomationPeer.

Namespace: Telerik.Windows.Controls.Automation.Peers
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2012.1.215.40 (2012.1.0215.40)

Syntax

C#
public override Object GetPattern(
	PatternInterface patternInterface
)
Visual Basic
Public Overrides Function GetPattern ( _
	patternInterface As PatternInterface _
) As Object

Parameters

patternInterface
Type: System.Windows.Automation.Peers..::..PatternInterface
One of the enumeration values.

Return Value

The object that implements the pattern interface, or null if the specified pattern interface is not implemented.

See Also