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
Remarks
Windows |
IValueProvider.IsReadOnly
|
macOS | No mapping. |
Value
Gets the value of the control.
string? Value { get; }
Property Value
Remarks
Windows |
IValueProvider.Value
|
macOS |
NSAccessibilityProtocol.accessibilityValue
|
Methods
SetValue(string?)
Sets the value of a control.
void SetValue(string? value)
Parameters
value
stringThe 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)
|