Esempio n. 1
0
        private void OnExpand()
        {
            CartPopupFade.IsVisible = true;
            CartPopupFade.FadeTo(1, ExpandAnimationSpeed, Easing.SinInOut);

            var height = pageHeight - CartPopup.HeaderHeight;

            CartPopup.TranslateTo(0, Height - height, ExpandAnimationSpeed, Easing.SinInOut);
        }
Esempio n. 2
0
 private void OnCollapse()
 {
     CartPopupFade.FadeTo(0, CollapseAnimationSpeed, Easing.SinInOut);
     CartPopupFade.IsVisible = false;
     CartPopup.TranslateTo(0, pageHeight - CartPopup.HeaderHeight, CollapseAnimationSpeed, Easing.SinInOut);
 }