UIElementMarkupExtensions.OnMouseWheel<T> method
Subscribes handler to MouseWheel. Occurs when the mouse wheel is scrolled over the element.
public static T OnMouseWheel<T>(this T target, Action<MouseWheelEventArgs> handler) where T : UIElement| parameter | description |
|---|---|
| T | Receiver type. |
| target | Target UIElement. |
| handler | Handler subscribed to MouseWheel. |
Return Value
Section titled “Return Value”The same element for chaining.
Sets: UIElement.MouseWheel
See Also
Section titled “See Also”- class MouseWheelEventArgs
- class UIElement
- class UIElementMarkupExtensions
- namespace Aprillz.MewUI.Controls