RadialController.ControlAcquired 事件

定义

当从菜单中选择由应用定义的自定义 RadialController 工具 () ,或者在自定义 RadialController 工具处于活动状态时将与 RadialController 对象关联的应用带到前台时发生。

// Register
event_token ControlAcquired(TypedEventHandler<RadialController, RadialControllerControlAcquiredEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RadialController::ControlAcquired_revoker ControlAcquired(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerControlAcquiredEventArgs const&> const& handler) const;
public event TypedEventHandler<RadialController,RadialControllerControlAcquiredEventArgs> ControlAcquired;
function onControlAcquired(eventArgs) { /* Your code */ }
radialController.addEventListener("controlacquired", onControlAcquired);
radialController.removeEventListener("controlacquired", onControlAcquired);
- or -
radialController.oncontrolacquired = onControlAcquired;
Public Custom Event ControlAcquired As TypedEventHandler(Of RadialController, RadialControllerControlAcquiredEventArgs) 

事件类型

适用于

另请参阅