Bagikan melalui


ICoreWindow.PointerWheelChanged Kejadian

Definisi

Peristiwa yang dinaikkan saat roda mouse diputar.

Jenis delegasi untuk peristiwa ini adalah TypedEventHandler<TSender,TResult>, di mana TSender berjenis CoreWindow, dan TResult berjenis 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) 

Jenis Acara

Contoh

Lihat contoh kode dalam Input penunjuk Handel.

Berlaku untuk

Lihat juga