Table of Contents

Interface IRangeValueProvider

Namespace
Avalonia.Automation.Provider
Assembly
Avalonia.Controls.dll

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

Properties

IsReadOnly

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

bool IsReadOnly { get; }

Property Value

bool

Remarks

Windows IRangeValueProvider.get_IsReadOnly
macOSNo mapping.

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.

double LargeChange { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_LargeChange
macOSNo mapping.

Maximum

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

double Maximum { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_Maximum
macOS NSAccessibilityProtocol.accessibilityMaxValue

Minimum

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

double Minimum { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_Minimum
macOS NSAccessibilityProtocol.accessibilityMinValue

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.

double SmallChange { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_SmallChange
macOS Used by NSAccessibilityProtocol.accessibilityPerformIncrement and NSAccessibilityProtocol.accessibilityPerformDecrement to determine the changed value.

Value

Gets the value of the control.

double Value { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_Value
macOS NSAccessibilityProtocol.accessibilityValue

Methods

SetValue(double)

Sets the value of the control.

void SetValue(double value)

Parameters

value double

The value to set.

Remarks

Windows IRangeValueProvider.SetValue
macOS NSAccessibilityProtocol.setAccessibilityValue (not implemented)