AdControl.OnMouseWheel 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 AdControl 收到鼠标滚轮事件时引发。
// Register
event_token OnMouseWheel(EventHandler<MouseWheelEventArgs> const& handler) const;
// Revoke with event_token
void OnMouseWheel(event_token const* cookie) const;
// Revoke with event_revoker
AdControl::OnMouseWheel_revoker OnMouseWheel(auto_revoke_t, EventHandler<MouseWheelEventArgs> const& handler) const;
public event System.EventHandler<MouseWheelEventArgs> OnMouseWheel;
function onOnMouseWheel(eventArgs) { /* Your code */ }
adControl.addEventListener("onmousewheel", onOnMouseWheel);
adControl.removeEventListener("onmousewheel", onOnMouseWheel);
- or -
adControl.ononmousewheel = onOnMouseWheel;
Public Custom Event OnMouseWheel As EventHandler(Of MouseWheelEventArgs)