Dela via


SynchronizedInputType Enum

Definition

Provides a of set constants that identify, as used by the ISynchronizedInputProvider Microsoft UI Automation interface.

public enum class SynchronizedInputType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SynchronizedInputType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SynchronizedInputType
Public Enum SynchronizedInputType
Inheritance
SynchronizedInputType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
KeyUp 1

A key has been released.

KeyDown 2

A key has been pressed.

LeftMouseUp 4

The left mouse button has been released.

LeftMouseDown 8

The left mouse button has been pressed.

RightMouseUp 16

The right mouse button has been released.

RightMouseDown 32

The right mouse button has been pressed.

Remarks

Values of SynchronizedInputType are used as an input parameter by the StartListening method.

The values in SynchronizedInputType parallel the values in the SynchronizedInputType enumeration.

Applies to

See also