Partager via


GestureEventData Struct

Definition

The data of a gesture event, include the event type, handedness, poses etc.

public struct GestureEventData
type GestureEventData = struct
Public Structure GestureEventData
Inheritance
GestureEventData

Properties

EventType

Get the type of gesture event.

Handedness

Get which hand triggers this gesture event, or it's not related to specific hand.

ManipulationData

Get the data for manipulation gesture event. It only has value if and only if the eventType == GestureEventType.ManipulationStarted/Updated/Completed

NavigationData

Get the data for navigation gesture event. It only has value if and only if the eventType == GestureEventType.NavigationStarted/Updated/Completed

TappedData

Get the data for tap or double tap event. It only has value if and only if the eventType == GestureEventType.Tapped

Applies to