Beispiel #1
0
 private void ManualPathEntryItem_Click(object sender, RoutedEventArgs e)
 {
     VisiblePath.Visibility   = Visibility.Visible;
     ClickablePath.Visibility = Visibility.Collapsed;
     VisiblePath.Focus(FocusState.Programmatic);
     VisiblePath.SelectAll();
 }
 private void ManualPathEntryItem_Click(object sender, RoutedEventArgs e)
 {
     (this as INavigationToolbar).IsEditModeEnabled = true;
     VisiblePath.Focus(FocusState.Programmatic);
     VisiblePath.SelectAll();
 }
 private void VisiblePath_Loaded(object sender, RoutedEventArgs e)
 {
     // AutoSuggestBox won't receive focus unless it's fully loaded
     VisiblePath.Focus(FocusState.Programmatic);
     Interaction.FindChild <TextBox>(VisiblePath)?.SelectAll();
 }