Returns a template of the control for the object-successor of the class ProgressBase, which is connected with current object ProgressAutomationPeer.

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 RangeValue, and the state of the object-successor of the classProgressBase is not equal Indeterminate or Busy, the method will return "this", otherwise "null" will be returned.

See Also