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


SpatialGestureRecognizer.ManipulationCompleted Событие

Определение

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

// Register
event_token ManipulationCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationCompletedEventArgs> ManipulationCompleted;
function onManipulationCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationcompleted", onManipulationCompleted);
spatialGestureRecognizer.removeEventListener("manipulationcompleted", onManipulationCompleted);
- or -
spatialGestureRecognizer.onmanipulationcompleted = onManipulationCompleted;
Public Custom Event ManipulationCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationCompletedEventArgs) 

Тип события

Комментарии

При взаимодействии с руками событие SpatialManipulationCompletedEventArgs срабатывает, когда палец освобождается после события ManipulationStarted .

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

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