Dela via


PointerUpdateKind Enum

Definition

Specifies the types of pointer updates that are supported by an application.

public enum class PointerUpdateKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PointerUpdateKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PointerUpdateKind
var value = Windows.UI.Input.PointerUpdateKind.other
Public Enum PointerUpdateKind
Inheritance
PointerUpdateKind
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
Other 0

Pointer updates not identified by other PointerUpdateKind values.

LeftButtonPressed 1

Left button pressed.

LeftButtonReleased 2

Left button released.

RightButtonPressed 3

Right button pressed.

RightButtonReleased 4

Right button released.

MiddleButtonPressed 5

Middle button pressed.

MiddleButtonReleased 6

Middle button released.

XButton1Pressed 7

XBUTTON1 pressed.

XButton1Released 8

XBUTTON1 released.

XButton2Pressed 9

XBUTTON2 pressed.

XButton2Released 10

XBUTTON2 released.

Applies to

See also