共用方式為


InputPointerSource.PointerWheelChanged 事件

定義

當滾輪旋轉 (滾輪差異值變更) 時發生。

// Register
event_token PointerWheelChanged(TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
InputPointerSource::PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, TypedEventHandler<InputPointerSource, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<InputPointerSource,PointerEventArgs> PointerWheelChanged;
function onPointerWheelChanged(eventArgs) { /* Your code */ }
inputPointerSource.addEventListener("pointerwheelchanged", onPointerWheelChanged);
inputPointerSource.removeEventListener("pointerwheelchanged", onPointerWheelChanged);
- or -
inputPointerSource.onpointerwheelchanged = onPointerWheelChanged;
Public Custom Event PointerWheelChanged As TypedEventHandler(Of InputPointerSource, PointerEventArgs) 

事件類型

適用於