Bagikan melalui


SpatialGestureRecognizer.ManipulationCanceled Kejadian

Definisi

Terjadi ketika gerakan Manipulasi dibatalkan.

// 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) 

Jenis Acara

Keterangan

Untuk interaksi tangan, peristiwa SpatialManipulationCanceledEventArgs diaktifkan ketika tangan ManipulationStarted hilang selama gerakan.

Untuk interaksi pengontrol ucapan dan gerakan, peristiwa ini tidak diaktifkan.

Berlaku untuk