In This Article

AnimatedProgressBarAutomationPeer Class

Exposes AnimatedProgressBar types to UI Automation.

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

Constructors

AnimatedProgressBarAutomationPeer(AnimatedProgressBar)

Exposes AnimatedProgressBar types to UI Automation.

public AnimatedProgressBarAutomationPeer(AnimatedProgressBar owner)
Parameter Type Description
owner AnimatedProgressBar

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.

Extension Methods