Esempio n. 1
0
        public ChangeSoundView()
        {
            InitializeComponent();

            ServiceLocator.DispatcherService.RunOnMainThread(() =>
            {
                //TextBoxSoundName.Focus(FocusState.Keyboard);
                TextBoxSoundName.SelectAll();
            });
        }
Esempio n. 2
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     TextBoxSoundName.Focus(FocusState.Keyboard);
     base.OnNavigatedTo(e);
 }
Esempio n. 3
0
 private void OnLoaded(object sender, RoutedEventArgs routedEventArgs)
 {
     TextBoxSoundName.Focus(FocusState.Keyboard);
 }