RadialController.ButtonHolding Event

Definition

Occurs when the user presses and holds down the wheel device.

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

Event Type

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Your app does not receive this event when:

Applies to

See also