RadialController.ButtonHolding RadialController.ButtonHolding RadialController.ButtonHolding RadialController.ButtonHolding RadialController.ButtonHolding Event

Definition

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

public : event TypedEventHandler<RadialController, RadialControllerButtonHoldingEventArgs> ButtonHolding
// Register
event_token ButtonHolding(TypedEventHandler<RadialController, RadialControllerButtonHoldingEventArgs> 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& handler) const;
public event TypedEventHandler<RadialController, RadialControllerButtonHoldingEventArgs> ButtonHolding
Public Event ButtonHolding As TypedEventHandler (Of RadialController, RadialControllerButtonHoldingEventArgs)
function onButtonHolding(eventArgs){/* Your code */}


radialController.addEventListener("buttonholding", onButtonHolding);
radialController.removeEventListener("buttonholding", onButtonHolding);

Remarks

Your app does not receive this event when:

See also

  • T:Windows.UI.Input.RadialControllerButtonHoldingEventArgs - [Surface Dial interactions](https://docs.microsoft.com/windows/uwp/input-and-devices/windows-wheel-interactions) - [Universal Windows Platform samples (C# and C++)](https://go.microsoft.com/fwlink/?linkid=832713) - [Windows classic desktop sample](https://aka.ms/radialcontrollerclassicsample)