protected override void OnNavigatedTo(NavigationEventArgs e) { TextBoxVariableName.Focus(FocusState.Keyboard); base.OnNavigatedTo(e); }