private void OpenPopupPane(View theView) { PageFader.IsVisible = true; PageFader.FadeTo(1, 300, Easing.SinInOut); theView.TranslateTo(0, 200, 300, Easing.SinInOut); AnimateClosePopupButton(ClosePopupPaneButton, entering: true); }
private void Artist_Tapped(object sender, EventArgs e) { var pageHeight = Height; var firstSection = ArtistDetailsPopup.FirstSectionHeight; PageFader.FadeTo(1, AnimationSpeed, Easing.SinInOut); ArtistDetailsPopup.TranslateTo(0, pageHeight - firstSection, AnimationSpeed, Easing.SinInOut); }
private void BidPopupButton_Clicked(object sender, EventArgs e) { var pageHeight = Height; var firstSection = BidPopup.FirstSectionHeight; PageFader.FadeTo(1, AnimationSpeed, Easing.SinInOut); BidPopup.TranslateTo(0, pageHeight - firstSection, AnimationSpeed, Easing.SinInOut); }
private async void PageFader_Tapped(object sender, EventArgs e) { BidPopup.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); ArtistDetailsPopup.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); await PageFader.FadeTo(0, AnimationSpeed, Easing.SinInOut); PageFader.IsVisible = false; }
private void Button_Clicked(object sender, EventArgs e) { var pageHeight = RootPage.Height; PageFader.IsVisible = true; PageFader.FadeTo(.6, AnimationSpeed, Easing.SinInOut); DetailsView.TranslateTo(0, pageHeight * .1, AnimationSpeed, Easing.SinInOut); }
private async void TapGestureRecognizer_Tapped(object sender, EventArgs e) { await DetailsView.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); await DetailsView.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); await PageFader.FadeTo(0, AnimationSpeed, Easing.SinInOut); PageFader.IsVisible = false; }
private async Task ClosePopupPane() { AnimateClosePopupButton(ClosePopupPaneButton, entering: false); _ = CountryDetailsGrid.TranslateTo(0, Height, 300, Easing.SinInOut); await PageFader.FadeTo(0, 300, Easing.SinInOut); PageFader.IsVisible = false; }
private void PageFader_Tapped(object sender, EventArgs e) { PageFader.FadeTo(0, AnimationSpeed, Easing.SinInOut); BidPopup.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); ArtistDetailsPopup.TranslateTo(0, Height, AnimationSpeed, Easing.SinInOut); }
private async void PageFader_Tapped(object sender, EventArgs e) { await PageFader.FadeTo(0, AnimationSpeed, Easing.SinInOut); PageFader.IsVisible = false; }