Sdílet prostřednictvím


SpatialGestureRecognizer.TrySetGestureSettings(SpatialGestureSettings) Method

Definition

Attempts to change the gesture settings for this recognizer.

public:
 virtual bool TrySetGestureSettings(SpatialGestureSettings settings) = TrySetGestureSettings;
bool TrySetGestureSettings(SpatialGestureSettings const& settings);
public bool TrySetGestureSettings(SpatialGestureSettings settings);
function trySetGestureSettings(settings)
Public Function TrySetGestureSettings (settings As SpatialGestureSettings) As Boolean

Parameters

settings
SpatialGestureSettings

The new SpatialGestureSettings to switch to.

Returns

Boolean

bool

True if the switch was successful; otherwise, false.

Remarks

This method can only succeed if there are no gestures currently in progress.

Applies to