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
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 10 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:
- The IsMenuSuppressed is false.
- The ActiveControllerWhenMenuIsSuppressed is not set to the appropriate RadialController.