Skip to content

UIElementMarkupExtensions.Focusable<T> method

Sets whether this element can receive keyboard focus.

public static T Focusable<T>(this T target, bool value = true)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
value Value assigned to Focusable.

The same element for chaining.

Sets: UIElement.Focusable