ComboBoxAutomationPeer::GetPattern Method (PatternInterface)

 

Gets the control pattern for this ComboBoxAutomationPeer.

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

public:
virtual Object^ GetPattern(
	PatternInterface pattern
) override

Parameters

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

One of the enumeration values.

Return Value

Type: System::Object^

If pattern is Value or ExpandCollapse, this method returns a reference to the current instance of the ComboBoxAutomationPeer; otherwise, this method calls the base implementation on SelectorAutomationPeer.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: