Export (0) Print
Expand All

TreeViewAutomationPeer.GetPattern Method

Gets the control pattern for the ContentElement that is associated with this ContentElementAutomationPeer.

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

public override Object GetPattern(
	PatternInterface patternInterface
)

Parameters

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

One of the enumeration values.

Return Value

Type: System.Object
The current instance of the TreeViewItemAutomationPeer, or 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