public Task GetHelp() { AIOverlayVisibility = Visibility.Visible; TB_Message.Focus(FocusState.Programmatic); return(apiAiHelper.InitResponse()); }
private async void SendMessage(object sender, object e) { if (!tapped) { tapped = true; await apiAiHelper.GetResponse(); TB_Message.Text = ""; TB_Message.Focus(FocusState.Programmatic); LV_Messages.ScrollIntoView(LV_Messages.Items[LV_Messages.Items.Count - 1]); tapped = false; } }