Tap(Interactive, Interactive, Point, KeyModifiers) Method

Definition

Assembly HeadlessTestingFramework.dll

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

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

Parameters

target
Avalonia.Interactivity.Interactive

The target control.

source
Avalonia.Interactivity.Interactive

The source of the event.

position
Avalonia.Point

The position of the tap.

modifiers
Avalonia.Input.KeyModifiers

Key modifiers.