// Clear TextBox after that user has started write private void Clear_Text(Object j, RoutedEventArgs e) { if (ones == false) { InnerPath.Clear(); ones = true; } }
private void Window_Loaded(object j, RoutedEventArgs e) { DataContext = new MainViewModel(); InnerPath.Focus(); }