Aracılığıyla paylaş


RadialController.ControlLost Event

Definition

Occurs while a custom RadialController tool (defined by an app) is active, and either the app associated with the RadialController object is sent to the background, or the user activates the RadialController menu.

// Register
event_token ControlLost(TypedEventHandler<RadialController, IInspectable const&> const& handler) const;

// Revoke with event_token
void ControlLost(event_token const* cookie) const;

// Revoke with event_revoker
RadialController::ControlLost_revoker ControlLost(auto_revoke_t, TypedEventHandler<RadialController, IInspectable const&> const& handler) const;
public event TypedEventHandler<RadialController,object> ControlLost;
function onControlLost(eventArgs) { /* Your code */ }
radialController.addEventListener("controllost", onControlLost);
radialController.removeEventListener("controllost", onControlLost);
- or -
radialController.oncontrollost = onControlLost;
Public Custom Event ControlLost As TypedEventHandler(Of RadialController, Object) 

Event Type

Applies to

See also