共用方式為


CoreIndependentInputSource.PointerWheelChanged 事件

定義

發生于旋轉滾輪按鈕時。

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

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

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

事件類型

實作

適用於