Share via


ICoreWindow.PointerWheelChanged Event

Definition

The event that's raised when the mouse wheel is rotated.

The delegate type for this event is TypedEventHandler<TSender,TResult>, where TSender is of type CoreWindow, and TResult is of type PointerEventArgs.

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

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

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

Event Type

Examples

See the code examples in Handle pointer input.

Applies to

See also