RadialController.ButtonClicked Event

Definition

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:

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) 

Event Type

Applies to

See also