I have created an UserControl which is loaded in a View (Window) in WPF. In my user control I have put a TextBox. I am unable to set focus on this
UserControl
TextBox
On load event set the keyboard focus :
Keyboard.Focus(control);