In This Article

CircularProgressBarAutomationPeer Class

Exposes CircularProgressBar types to UI Automation.

public class CircularProgressBarAutomationPeer : RangeBaseAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer RangeBaseAutomationPeer object

Constructors

CircularProgressBarAutomationPeer(CircularProgressBar)

Initializes a new instance of the class.

public CircularProgressBarAutomationPeer(CircularProgressBar owner)
Parameter Type Description
owner CircularProgressBar

The owner.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetPattern(PatternInterface)

Gets the control pattern for the RangeBase that is associated with this RangeBaseAutomationPeer.

public override object GetPattern(PatternInterface patternInterface)
Parameter Type Description
patternInterface PatternInterface

A value in the enumeration.

Returns

object:

If patternInterface is RangeValue, this method returns a this pointer; otherwise, this method returns null.