Class TextBoxAutomationPeer
- Namespace
- Avalonia.Automation.Peers
- Assembly
- Avalonia.Controls.dll
public class TextBoxAutomationPeer : ControlAutomationPeer, IValueProvider
- Inheritance
-
TextBoxAutomationPeer
- Implements
- Inherited Members
Constructors
TextBoxAutomationPeer(TextBox)
public TextBoxAutomationPeer(TextBox owner)
Parameters
owner
TextBox
Properties
IsReadOnly
Gets a value that indicates whether the value of a control is read-only.
public bool IsReadOnly { get; }
Property Value
Remarks
Windows |
IValueProvider.IsReadOnly
|
macOS | No mapping. |
Owner
public TextBox Owner { get; }
Property Value
Value
Gets the value of the control.
public string? Value { get; }
Property Value
Remarks
Windows |
IValueProvider.Value
|
macOS |
NSAccessibilityProtocol.accessibilityValue
|
Methods
GetAutomationControlTypeCore()
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
OwnerPropertyChanged(object?, AvaloniaPropertyChangedEventArgs)
protected virtual void OwnerPropertyChanged(object? sender, AvaloniaPropertyChangedEventArgs e)
Parameters
sender
objecte
AvaloniaPropertyChangedEventArgs
SetValue(string?)
Sets the value of a control.
public 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)
|