Exemplo n.º 1
0
 void FocusPasswordBox()
 {
     if (CodePasswordBox.IsVisible)
     {
         CodePasswordBox.Focusable = true;
         FocusManager.SetFocusedElement(this, CodePasswordBox);
         CodePasswordBox.Focus();
     }
 }
        public ConfirmPasswordView()
        {
            InitializeComponent();

            Loaded += (sender, args) => Execute.BeginOnUIThread(TimeSpan.FromSeconds(0.3), () => CodePasswordBox.Focus());
        }