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