Skip to content

UIElement.FocusableProperty field

Whether the element can receive keyboard focus.

public static readonly MewProperty<bool> FocusableProperty;

Control authors set the per-type default (via OverrideDefaultValue in a static constructor); apps may override individual instances, for example to drop a composed part from focus. Setting this false on the currently focused element does not move focus immediately; the next Tab or click resolves it.