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