RadialController.ButtonClicked Event
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 wheel device is pressed and then released while a custom RadialController tool is active.
Your app does not receive this event when:
- The RadialController menu is active
- A built-in tool is active
Note
When a time threshold is crossed, click becomes a press and hold action. In this case, the integrated menu of contextual app commands associated with the RadialController object is displayed, and subsequent rotate and click events are processed by the menu.
// Register
event_token ButtonClicked(TypedEventHandler<RadialController, RadialControllerButtonClickedEventArgs const&> const& handler) const;
// Revoke with event_token
void ButtonClicked(event_token const* cookie) const;
// Revoke with event_revoker
RadialController::ButtonClicked_revoker ButtonClicked(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerButtonClickedEventArgs const&> const& handler) const;
public event TypedEventHandler<RadialController,RadialControllerButtonClickedEventArgs> ButtonClicked;
function onButtonClicked(eventArgs) { /* Your code */ }
radialController.addEventListener("buttonclicked", onButtonClicked);
radialController.removeEventListener("buttonclicked", onButtonClicked);
- or -
radialController.onbuttonclicked = onButtonClicked;
Public Custom Event ButtonClicked As TypedEventHandler(Of RadialController, RadialControllerButtonClickedEventArgs)
Product | Versions |
---|---|
WinRT | Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |