Skip to main content

IRangeValueProvider Interface

Definition

Assembly:Avalonia.Controls
Package:Avalonia

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

NameDescription
SetValueSets 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

  • WindowsIRangeValueProvider.SetValue
  • macOSNSAccessibilityProtocol.setAccessibilityValue

Properties

NameDescription
IsReadOnlyGets a value that indicates whether the value of a control is read-only.
LargeChangeGets 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.
MaximumGets the maximum range value that is supported by the control.
MinimumGets the minimum range value that is supported by the control.
SmallChangeGets the value that is added to or subtracted from the Value property when a small change is made, such as with an arrow key.
ValueGets 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

  • WindowsIRangeValueProvider.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

  • WindowsIRangeValueProvider.get_LargeChange
  • macOSNo mapping.

Maximum Property

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

public double Maximum { get; set; }

Remarks

  • WindowsIRangeValueProvider.get_Maximum
  • macOSNSAccessibilityProtocol.accessibilityMaxValue

Minimum Property

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

public double Minimum { get; set; }

Remarks

  • WindowsIRangeValueProvider.get_Minimum
  • macOSNSAccessibilityProtocol.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

  • WindowsIRangeValueProvider.get_SmallChange
  • macOS Used by NSAccessibilityProtocol.accessibilityPerformIncrement and NSAccessibilityProtocol.accessibilityPerformDecrement to determine the changed value.

Value Property

Gets the value of the control.

public double Value { get; set; }

Remarks

  • WindowsIRangeValueProvider.get_Value
  • macOSNSAccessibilityProtocol.accessibilityValue