Skip to content

UIElementMarkupExtensions.OnMouseEnter<T> method

Subscribes handler to MouseEnter. Occurs when the mouse enters the element.

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

The same element for chaining.

Sets: UIElement.MouseEnter