콘텐츠로 이동

UIElementMarkupExtensions.OnGotFocus<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Subscribes handler to GotFocus. Occurs when the element receives keyboard focus.

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

The same element for chaining.

Sets: UIElement.GotFocus