Tap(Interactive, Point, KeyModifiers) Method

Definition

Assembly HeadlessTestingFramework.dll

Simulates a tap (down and up) at the specified position.

public void Tap(Interactive target, Point position = default(Point), KeyModifiers modifiers = KeyModifiers.None)

Parameters

target
Avalonia.Interactivity.Interactive

The target control.

position
Avalonia.Point

The position of the tap.

modifiers
Avalonia.Input.KeyModifiers

Key modifiers.