public void FocusInput() { if (!TbEditor.IsFocused) { TbEditor.Focus(); TbEditor.ScrollToEnd(); } }
private void userControl_Loaded(object sender, RoutedEventArgs e) { TbEditor.Focus(); }