Despite some posts on this forum and others i cannot find something that tells me how to set the focus on a TextBox.
TextBox
I have a userControl with many labe
You can use the FocusManager.FocusedElement attached property for this purpose. Here's a piece of code that set the focus to TxtB by default.
FocusManager.FocusedElement
You can also use TxtB.Focus() in your code-behind if you don't want to do this in XAML.
TxtB.Focus()