Table of Contents

Class RangeBaseAutomationPeer

Namespace
Avalonia.Automation.Peers
Assembly
Avalonia.Controls.dll
public abstract class RangeBaseAutomationPeer : ControlAutomationPeer, IRangeValueProvider
Inheritance
RangeBaseAutomationPeer
Implements
Derived
Inherited Members

Constructors

RangeBaseAutomationPeer(RangeBase)

public RangeBaseAutomationPeer(RangeBase owner)

Parameters

owner RangeBase

Properties

IsReadOnly

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

public virtual 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.

public 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.

public 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.

public double Minimum { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_Minimum
macOS NSAccessibilityProtocol.accessibilityMinValue

Owner

public RangeBase Owner { get; }

Property Value

RangeBase

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.

public 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.

public double Value { get; }

Property Value

double

Remarks

Windows IRangeValueProvider.get_Value
macOS NSAccessibilityProtocol.accessibilityValue

Methods

OwnerPropertyChanged(object?, AvaloniaPropertyChangedEventArgs)

protected virtual void OwnerPropertyChanged(object? sender, AvaloniaPropertyChangedEventArgs e)

Parameters

sender object
e AvaloniaPropertyChangedEventArgs

SetValue(double)

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 (not implemented)