Example #1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();

            DetailsView.TranslationY = 500;
            DetailsView.TranslateTo(0, 0, 500, Easing.SinInOut);
        }
Example #2
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);
        }
Example #3
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;
        }