IRangeValueProvider
IRangeValueProvider
IRangeValueProvider
IRangeValueProvider
Interface
Definition
Exposes methods and properties to support access by a Microsoft UI Automation client to controls that can be set to a value within a range. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.RangeValue.
public : interface IRangeValueProviderpublic interface IRangeValueProviderPublic Interface IRangeValueProvider// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see RangeValue Control Pattern.
IRangeValueProvider is implemented by the existing Windows Runtime class RangeBaseAutomationPeer. This is the base class for peers for Slider, ScrollBar and ProgressBar. ProgressBarAutomationPeer adds an override such that it won't support the pattern if the value of IsIndeterminate on the owner control is false.
Use RangeValuePatternIdentifiers if you want to reference the IRangeValueProvider pattern properties from control code when you fire automation events or call RaisePropertyChangedEvent.
Properties
IsReadOnly IsReadOnly IsReadOnly IsReadOnly
Gets a value that indicates whether the value of a control is read-only.
public : PlatForm::Boolean IsReadOnly { get; }public bool IsReadOnly { get; }Public ReadOnly Property IsReadOnly As bool// This API is not available in Javascript.
- Value
- PlatForm::Boolean bool bool bool
true if the value is read-only; false if it can be modified.
LargeChange LargeChange LargeChange LargeChange
Gets the value that is added to or subtracted from the Value property when a large change is made, such as with the PAGE DOWN key.
public : double LargeChange { get; }public double LargeChange { get; }Public ReadOnly Property LargeChange As double// This API is not available in Javascript.
- Value
- double double double double
The large-change value that is supported by the control, or null if the control does not support LargeChange.
Maximum Maximum Maximum Maximum
Gets the maximum range value that is supported by the control.
public : double Maximum { get; }public double Maximum { get; }Public ReadOnly Property Maximum As double// This API is not available in Javascript.
- Value
- double double double double
The maximum value that is supported by the control, or null if the control does not support Maximum.
Minimum Minimum Minimum Minimum
Gets the minimum range value that is supported by the control.
public : double Minimum { get; }public double Minimum { get; }Public ReadOnly Property Minimum As double// This API is not available in Javascript.
- Value
- double double double double
The minimum value that is supported by the control, or null if the control does not support Minimum.
SmallChange SmallChange SmallChange SmallChange
Gets the value that is added to or subtracted from the Value property when a small change is made, such as with an arrow key.
public : double SmallChange { get; }public double SmallChange { get; }Public ReadOnly Property SmallChange As double// This API is not available in Javascript.
- Value
- double double double double
The small-change value supported by the control, or null if the control does not support SmallChange.
Value Value Value Value
Gets the value of the control.
public : double Value { get; }public double Value { get; }Public ReadOnly Property Value As double// This API is not available in Javascript.
- Value
- double double double double
The value of the control, or null if the control does not support Value.
Methods
SetValue(Double) SetValue(Double) SetValue(Double) SetValue(Double)
Sets the value of the control.
public : void SetValue(double value)public void SetValue(Double value)Public Function SetValue(value As Double) As void// This API is not available in Javascript.
- value
- double Double Double Double
The value to set.