SelectorAutomationPeer::GetPattern Method

Gets the control pattern for the Selector that is associated with this SelectorAutomationPeer.

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

public:
virtual Object^ GetPattern(
	PatternInterface patternInterface
) override

Parameters

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

A value in the enumeration.

Return Value

Type: System::Object
If patternInterface is Selection, this method returns a pointer to the current instance; otherwise nullptr.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft