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
Remarks
Windows |
IRangeValueProvider.get_IsReadOnly
|
macOS | No 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
Remarks
Windows |
IRangeValueProvider.get_LargeChange
|
macOS | No mapping. |
Maximum
Gets the maximum range value that is supported by the control.
public double Maximum { get; }
Property Value
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
Remarks
Windows |
IRangeValueProvider.get_Minimum
|
macOS |
NSAccessibilityProtocol.accessibilityMinValue
|
Owner
public RangeBase Owner { get; }
Property Value
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
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
Remarks
Windows |
IRangeValueProvider.get_Value
|
macOS |
NSAccessibilityProtocol.accessibilityValue
|
Methods
OwnerPropertyChanged(object?, AvaloniaPropertyChangedEventArgs)
protected virtual void OwnerPropertyChanged(object? sender, AvaloniaPropertyChangedEventArgs e)
Parameters
sender
objecte
AvaloniaPropertyChangedEventArgs
SetValue(double)
Sets the value of the control.
public void SetValue(double value)
Parameters
value
doubleThe value to set.
Remarks
Windows |
IRangeValueProvider.SetValue
|
macOS |
NSAccessibilityProtocol.setAccessibilityValue (not implemented)
|