Table of Contents

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

bool

Remarks

Windows IValueProvider.IsReadOnly
macOSNo mapping.

Owner

public DatePicker Owner { get; }

Property Value

DatePicker

Value

Gets the value of the control.

public string? Value { get; }

Property Value

string

Remarks

Windows IValueProvider.Value
macOS NSAccessibilityProtocol.accessibilityValue

Methods

GetAutomationControlTypeCore()

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

SetValue(string?)

Sets the value of a control.

public 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)