I’m trying to create a date edit UserControl, but using TextBlock rather than TextBox because I want a single input context rather than manage six possible foci.
How do I accept focus? I tried setting Focusable to TRUE but it appears not to be enough. What else do I have to do?
Sounds like you need to set
KeyboardFocusto the elementExample:
Or in codeBehind: