Compartilhar via


ICoreWindow.PointerWheelChanged Evento

Definição

O evento gerado quando a roda do mouse é girada.

O tipo de delegado para esse evento é TypedEventHandler<TSender,TResult>, em que TSender é do tipo CoreWindow e TResult é do tipo 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) 

Tipo de evento

Exemplos

Consulte os exemplos de código na entrada do ponteiro handle.

Aplica-se a

Confira também