CircularProgressBarAutomationPeer Class
Exposes CircularProgressBar types to UI Automation.
public class CircularProgressBarAutomationPeer : RangeBaseAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer RangeBaseAutomationPeer object
Constructors
CircularProgressBarAutomationPeer(CircularProgressBar)
Exposes CircularProgressBar types to UI Automation.
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().
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
patternInterfaceis RangeValue, this method returns athispointer; otherwise, this method returnsnull.