Bagikan melalui


SpatialGestureRecognizer.HoldCompleted Kejadian

Definisi

Terjadi saat gerakan Tahan selesai.

// Register
event_token HoldCompleted(TypedEventHandler<SpatialGestureRecognizer, SpatialHoldCompletedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::HoldCompleted_revoker HoldCompleted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialHoldCompletedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialHoldCompletedEventArgs> HoldCompleted;
function onHoldCompleted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("holdcompleted", onHoldCompleted);
spatialGestureRecognizer.removeEventListener("holdcompleted", onHoldCompleted);
- or -
spatialGestureRecognizer.onholdcompleted = onHoldCompleted;
Public Custom Event HoldCompleted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialHoldCompletedEventArgs) 

Jenis Acara

Keterangan

Untuk interaksi tangan, peristiwa SpatialHoldCompletedEventArgs diaktifkan saat jari dilepaskan setelah HoldStarted.

Untuk interaksi ucapan, peristiwa ini tidak diaktifkan.

Untuk interaksi pengontrol gerakan, peristiwa ini diaktifkan saat tombol Pilih pemicu atau dilepaskan setelah HoldStarted.

Berlaku untuk