IRangeValueProvider Interface
Definition
Exposes methods and properties to support access by a UI Automation client to controls that can be set to a value within a range.
public interface IRangeValueProvider
Methods
| Name | Description |
|---|---|
| SetValue | Sets the value of the control. |
SetValue Method
Sets the value of the control.
public void SetValue(double value)
Parameters
value double
The value to set.
Remarks
- Windows
IRangeValueProvider.SetValue - macOS
NSAccessibilityProtocol.setAccessibilityValue
Properties
| Name | Description |
|---|---|
| IsReadOnly | Gets a value that indicates whether the value of a control is read-only. |
| 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. |
| Maximum | Gets the maximum range value that is supported by the control. |
| Minimum | Gets the minimum range value that is supported by the control. |
| 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. |
| Value | Gets the value of the control. |
IsReadOnly Property
Gets a value that indicates whether the value of a control is read-only.
public bool IsReadOnly { get; set; }
Remarks
- Windows
IRangeValueProvider.get_IsReadOnly - macOSNo mapping.
LargeChange Property
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; set; }
Remarks
- Windows
IRangeValueProvider.get_LargeChange - macOSNo mapping.
Maximum Property
Gets the maximum range value that is supported by the control.
public double Maximum { get; set; }
Remarks
- Windows
IRangeValueProvider.get_Maximum - macOS
NSAccessibilityProtocol.accessibilityMaxValue
Minimum Property
Gets the minimum range value that is supported by the control.
public double Minimum { get; set; }
Remarks
- Windows
IRangeValueProvider.get_Minimum - macOS
NSAccessibilityProtocol.accessibilityMinValue
SmallChange Property
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; set; }
Remarks
- Windows
IRangeValueProvider.get_SmallChange - macOS Used by
NSAccessibilityProtocol.accessibilityPerformIncrementandNSAccessibilityProtocol.accessibilityPerformDecrementto determine the changed value.
Value Property
Gets the value of the control.
public double Value { get; set; }
Remarks
- Windows
IRangeValueProvider.get_Value - macOS
NSAccessibilityProtocol.accessibilityValue