Returns a template of the control for an instance of the control DropDownCommandButton, which is connected with current object DropDownCommandButtonAutomationPeer.

Namespace: Elysium.Controls.Automation
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

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
A value of the enumeration PatternInterface.

Return Value

Type: Object
If the parameter patternInterface has a value ExpandCollapse, the method will return "this", otherwise "null" will be returned.

See Also