RadialController.ControlAcquired Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a custom RadialController tool (defined by an app) is selected from the menu, or when an app associated with the RadialController object is brought to the foreground while a custom RadialController tool is active.
// 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)
Event Type
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin