RadialController.ButtonHolding Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
- The IsMenuSuppressed is false.
- The ActiveControllerWhenMenuIsSuppressed is not set to the appropriate RadialController.