RadialController.RotationChanged 事件

定义

在自定义 RadialController 工具处于活动状态时旋转滚轮设备时发生。

应用在以下情况下不会收到此事件:

// Register
event_token RotationChanged(TypedEventHandler<RadialController, RadialControllerRotationChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
RadialController::RotationChanged_revoker RotationChanged(auto_revoke_t, TypedEventHandler<RadialController, RadialControllerRotationChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<RadialController,RadialControllerRotationChangedEventArgs> RotationChanged;
function onRotationChanged(eventArgs) { /* Your code */ }
radialController.addEventListener("rotationchanged", onRotationChanged);
radialController.removeEventListener("rotationchanged", onRotationChanged);
- or -
radialController.onrotationchanged = onRotationChanged;
Public Custom Event RotationChanged As TypedEventHandler(Of RadialController, RadialControllerRotationChangedEventArgs) 

事件类型

适用于

另请参阅