共用方式為


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) 

事件類型

適用於

另請參閱