Aracılığıyla paylaş


CoreWindow.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
CoreWindow::PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, TypedEventHandler<CoreWindow, PointerEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWindow,PointerEventArgs> PointerWheelChanged;
function onPointerWheelChanged(eventArgs) { /* Your code */ }
coreWindow.addEventListener("pointerwheelchanged", onPointerWheelChanged);
coreWindow.removeEventListener("pointerwheelchanged", onPointerWheelChanged);
- or -
coreWindow.onpointerwheelchanged = onPointerWheelChanged;
Public Custom Event PointerWheelChanged As TypedEventHandler(Of CoreWindow, PointerEventArgs) Implements PointerWheelChanged

Event Type

Implements

Examples

See the code examples in Handle pointer input.

Applies to

See also