Class ProgressBarAutomationPeer
Exposes ProgressBar types to UI automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class ProgressBarAutomationPeer : RangeBaseAutomationPeer, IDependencyObject, IRangeValueProvider
Constructors
| Improve this Doc View SourceProgressBarAutomationPeer(ProgressBar)
Initializes a new instance of the ProgressBarAutomationPeer class.
Declaration
public ProgressBarAutomationPeer(ProgressBar owner)
Parameters
| Type | Name | Description |
|---|---|---|
| ProgressBar | owner | The ProgressBar to associate with the ProgressBarAutomationPeer. |
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the element that is associated with this ProgressBarAutomationPeer. This method is called by GetAutomationControlType().
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
| Type | Description |
|---|---|
| AutomationControlType | A value of the enumeration. |
Overrides
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the class that is associated with this ProgressBarAutomationPeer. This method is called by GetClassName().
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The class name. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Gets an object that supports the requested pattern, based on the patterns supported by this ProgressBarAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| PatternInterface | patternInterface | One of the enumeration values. |
Returns
| Type | Description |
|---|---|
| System.Object | The object that implements the pattern interface, or null if the specified pattern interface is not implemented by this peer. |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIRangeValueProvider.IsReadOnly
Indicates that the value can only be read, not modified. returns True if the control is read-only
Declaration
bool IRangeValueProvider.IsReadOnly { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
IRangeValueProvider.LargeChange
Value of a Large Change
Declaration
double IRangeValueProvider.LargeChange { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
IRangeValueProvider.SetValue(Double)
Request to set the value that this UI element is representing
Declaration
void IRangeValueProvider.SetValue(double val)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | val | Value to set the UI to, as an object |
IRangeValueProvider.SmallChange
Value of a Small Change
Declaration
double IRangeValueProvider.SmallChange { get; }
Returns
| Type | Description |
|---|---|
| System.Double |