SpatialInteractionSourceEventArgs.PressKind Property

Definition

Gets the kind of press or release associated with the event.

public:
 property SpatialInteractionPressKind PressKind { SpatialInteractionPressKind get(); };
SpatialInteractionPressKind PressKind();
public SpatialInteractionPressKind PressKind { get; }
var spatialInteractionPressKind = spatialInteractionSourceEventArgs.pressKind;
Public ReadOnly Property PressKind As SpatialInteractionPressKind

Property Value

The press kind.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

This property is only useful for the SourcePressed and SourceReleased events, as it represents the nature of that particular press or release. For all other Source events, the PressKind will be None.

Applies to