Table of Contents

Class TimePickerAutomationPeer

Namespace
Avalonia.Automation.Peers
Assembly
Avalonia.Controls.dll
public class TimePickerAutomationPeer : ControlAutomationPeer, IValueProvider
Inheritance
TimePickerAutomationPeer
Implements
Inherited Members

Constructors

TimePickerAutomationPeer(TimePicker)

public TimePickerAutomationPeer(TimePicker owner)

Parameters

owner TimePicker

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 TimePicker Owner { get; }

Property Value

TimePicker

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)