Bagikan melalui


RadialController.ButtonHolding Kejadian

Definisi

Terjadi ketika pengguna menekan dan menahan perangkat roda.

// Register
event_token ButtonHolding(TypedEventHandler<RadialController, RadialControllerButtonHoldingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RadialController::ButtonHolding_revoker ButtonHolding(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerButtonHoldingEventArgs const&> const& handler) const;
public event TypedEventHandler<RadialController,RadialControllerButtonHoldingEventArgs> ButtonHolding;
function onButtonHolding(eventArgs) { /* Your code */ }
radialController.addEventListener("buttonholding", onButtonHolding);
radialController.removeEventListener("buttonholding", onButtonHolding);
- or -
radialController.onbuttonholding = onButtonHolding;
Public Custom Event ButtonHolding As TypedEventHandler(Of RadialController, RadialControllerButtonHoldingEventArgs) 

Jenis Acara

Persyaratan Windows

Rangkaian perangkat
Windows 10 Creators Update (diperkenalkan dalam 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v4.0)

Keterangan

Aplikasi Anda tidak menerima peristiwa ini saat:

Berlaku untuk

Lihat juga