Поделиться через


SpatialGestureRecognizer.ManipulationCanceled Событие

Определение

Происходит при отмене жеста манипуляции .

// Register
event_token ManipulationCanceled(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs const&> const& handler) const;

// Revoke with event_token
void ManipulationCanceled(event_token const* cookie) const;

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationCanceled_revoker ManipulationCanceled(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationCanceledEventArgs> ManipulationCanceled;
function onManipulationCanceled(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationcanceled", onManipulationCanceled);
spatialGestureRecognizer.removeEventListener("manipulationcanceled", onManipulationCanceled);
- or -
spatialGestureRecognizer.onmanipulationcanceled = onManipulationCanceled;
Public Custom Event ManipulationCanceled As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationCanceledEventArgs) 

Тип события

Комментарии

При взаимодействии с рукой событие SpatialManipulationCanceledEventArgs срабатывает при потере руки ManipulationStarted во время жеста.

Для взаимодействия с контроллером речи и движением это событие не срабатывает.

Применяется к