private async void ToggleAccordionButton_Tapped(object sender, System.EventArgs e) { AccordionItem.IsExpanded = !AccordionItem.IsExpanded; ToggleAccordionIcon.Text = AccordionItem.IsExpanded ? FontAwesomeSolid.AngleDown : FontAwesomeSolid.AngleUp; await System.Threading.Tasks.Task.Delay((int)Accordion.AnimationDuration); Accordion.BringIntoView(AccordionItem); OnAccordionToggled?.Invoke(this, EventArgs.Empty); }