public ChangeSpriteView()
        {
            InitializeComponent();

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