WPF TabControl On SelectionChanged, set focus to a text field
Try putting the .Focus() calls inside a dispatcher.BeginInvoke.
Dispatcher.BeginInvoke(new Action(() => { txtsvc.Focus(); }));
Try putting the .Focus() calls inside a dispatcher.BeginInvoke.
Dispatcher.BeginInvoke(new Action(() => { txtsvc.Focus(); }));