async void clickedcontactus(object sender, System.EventArgs e) { contactusviewmodel.ReCenterViewToContactUs = true; await Task.WhenAll( UnderlineBoxView.TranslateTo(UnderlineBoxView.Width, 0), FAQS.TranslateTo(-Width, 0), contactusview.TranslateTo(0, 0), howitworkview.TranslateTo(Width, 0) ); }
private async void SkippComaand(object sender, EventArgs e) { await cooloring.FadeTo(0); cooloring.IsVisible = false; contactusviewmodel.ReCenterViewToContactUs = false; await Task.WhenAll( UnderlineBoxView.TranslateTo(UnderlineBoxView.Width * 2, 0), FAQS.TranslateTo(-Width * 2, 0), contactusview.TranslateTo(-Width, 0), howitworkview.TranslateTo(0, 0) ); //await mainGrid.FadeTo(1); //mainGrid.IsVisible = true; }