RadialController.ControlLost 事件

定义

当由应用) 定义的自定义 RadialController 工具 (处于活动状态,并且与 RadialController 对象关联的应用发送到后台,或者用户激活 RadialController 菜单时发生。

// 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) 

事件类型

适用于

另请参阅