Bagikan melalui


InputPointerSource.PointerReleased Kejadian

Definisi

Terjadi ketika perangkat penunjuk yang sebelumnya memulai tindakan Tekan dilepaskan (tombol mouse dilepaskan, atau kontak sentuhan atau pena diangkat dari permukaan digitizer), sementara dalam batas InputPointerSource ini.

// Register
event_token PointerReleased(TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputPointerSource::PointerReleased_revoker PointerReleased(auto_revoke_t, TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InputPointerSource,PointerEventArgs> PointerReleased;
function onPointerReleased(eventArgs) { /* Your code */ }
inputPointerSource.addEventListener("pointerreleased", onPointerReleased);
inputPointerSource.removeEventListener("pointerreleased", onPointerReleased);
- or -
inputPointerSource.onpointerreleased = onPointerReleased;
Public Custom Event PointerReleased As TypedEventHandler(Of InputPointerSource, PointerEventArgs) 

Jenis Acara

Berlaku untuk