Table of Contents

Interface IValueProvider

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

Exposes methods and properties to support access by a UI Automation client to controls that have an intrinsic value that does not span a range and that can be represented as a string.

public interface IValueProvider

Properties

IsReadOnly

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

bool IsReadOnly { get; }

Property Value

bool

Remarks

Windows IValueProvider.IsReadOnly
macOSNo mapping.

Value

Gets the value of the control.

string? Value { get; }

Property Value

string

Remarks

Windows IValueProvider.Value
macOS NSAccessibilityProtocol.accessibilityValue

Methods

SetValue(string?)

Sets the value of a control.

void SetValue(string? value)

Parameters

value string

The value to set. The provider is responsible for converting the value to the appropriate data type.

Remarks

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