Class DatePickerAutomationPeer
- Namespace
- Avalonia.Automation.Peers
- Assembly
- Avalonia.Controls.dll
public class DatePickerAutomationPeer : ControlAutomationPeer, IValueProvider
- Inheritance
-
DatePickerAutomationPeer
- Implements
- Inherited Members
Constructors
DatePickerAutomationPeer(DatePicker)
public DatePickerAutomationPeer(DatePicker owner)
Parameters
owner
DatePicker
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 DatePicker 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
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)
|