InputPointerSource.PointerWheelChanged 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 the mouse wheel is rotated (the wheel delta value changes).
// 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)