private void NavigateTo_Executed(object sender, ExecutedRoutedEventArgs e) { DatabaseDirectory.SetCurrentValue(TextBox.TextProperty, e.Parameter); DatabaseDirectory.Focus(); DatabaseDirectory.SelectAll(); e.Handled = true; }
private void DatabaseDirectory_SubDirs_PreviewGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) { DatabaseDirectory.Focus(); e.Handled = true; }