Example #1
0
 private async void InpitTrigger(object sender, EventArgs e)
 {
     if (!InputAmount.IsFocused)
     {
         InputAmount.Focus();
     }
 }
Example #2
0
 private void BtnCalculate_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(InputAmount.Text))
     {
         InputAmount.Focus();
     }
 }
Example #3
0
        protected override void OnAppearing()
        {
            base.OnAppearing();

            InputAmount.Focus();
        }