콘텐츠로 이동

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.

The same element for chaining.

Sets: UIElement.MouseDown