Share via


MouseWheelEventHandler Delegate

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents the method that will handle the MouseWheel routed event.

Namespace:  System.Windows.Input
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Delegate Sub MouseWheelEventHandler ( _
    sender As Object, _
    e As MouseWheelEventArgs _
)
public delegate void MouseWheelEventHandler(
    Object sender,
    MouseWheelEventArgs e
)

Parameters

  • sender
    Type: System.Object
    The object where the event handler is attached.

Remarks

Because MouseWheel is a routed event, it can invoke handlers on objects other than the object that raised the event. For more information about routed events, see Events Overview for Silverlight.

Handling the events that are generated by the mouse wheel might also involve handling HTML Document Object Model (DOM) events. For more information, see Mouse Wheel Input.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference