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);
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
        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;
        }
示例#5
0
        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);
        }
示例#6
0
        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;
        }
示例#8
0
 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);
 }
示例#9
0
        private async void PageFader_Tapped(object sender, EventArgs e)
        {
            await PageFader.FadeTo(0, AnimationSpeed, Easing.SinInOut);

            PageFader.IsVisible = false;
        }