Skip to content

UIElementMarkupExtensions.OnMouseLeave<T> method

Subscribes handler to MouseLeave. Occurs when the mouse leaves the element.

public static T OnMouseLeave<T>(this T target, Action handler)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
handler Handler subscribed to MouseLeave.

The same element for chaining.

Sets: UIElement.MouseLeave