Jaa


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 class IRangeValueProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2206872744, 32095, 16505, 175, 3, 195, 208, 21, 233, 52, 19)]
struct IRangeValueProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2206872744, 32095, 16505, 175, 3, 195, 208, 21, 233, 52, 19)]
public interface IRangeValueProvider
Public Interface IRangeValueProvider
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

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.

Methods

SetValue(Double)

Sets the value of the control.

Applies to

See also