IRangeValueProvider IRangeValueProvider IRangeValueProvider IRangeValueProvider Interface


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 IRangeValueProvider
struct winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider
public interface IRangeValueProvider
Public Interface IRangeValueProvider

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.


IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value that indicates whether the value of a control is read-only.

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.

Maximum Maximum Maximum Maximum

Gets the maximum range value that is supported by the control.

Minimum Minimum Minimum Minimum

Gets the minimum range value that is supported by the control.

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.

Value Value Value Value

Gets the value of the control.


SetValue(Double) SetValue(Double) SetValue(Double) SetValue(Double)

Sets the value of the control.

See also