public ChangeSoundView() { InitializeComponent(); ServiceLocator.DispatcherService.RunOnMainThread(() => { //TextBoxSoundName.Focus(FocusState.Keyboard); TextBoxSoundName.SelectAll(); }); }
protected override void OnNavigatedTo(NavigationEventArgs e) { TextBoxSoundName.Focus(FocusState.Keyboard); base.OnNavigatedTo(e); }
private void OnLoaded(object sender, RoutedEventArgs routedEventArgs) { TextBoxSoundName.Focus(FocusState.Keyboard); }