InputPointerSource.PointerWheelChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika roda mouse diputar (nilai delta roda berubah).
// 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)