KeyDown(AvaloniaElement, Key) Method

Definition

Assembly HeadlessTestingFramework.dll

Presses a key down on an element.

public Actions KeyDown(AvaloniaElement element, Key key)

Parameters

element
AvaloniaElement

The element to receive the key.

key
Avalonia.Input.Key

The key to press.

Returns

Actions
This Actions instance for chaining.