예제 #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);
        }
 private void OnCollapse()
 {
     CartPopup.TranslateTo(0, _pageHeight - CartPopup.PageHeader, CollapseAnimationDuration);
 }
        private void OnExpand()
        {
            var height = _pageHeight - CartPopup.PageHeader;

            CartPopup.TranslateTo(0, Height - height, ExpandAnimationDuration);
        }
 private void OnCollapse()
 {
     CartPopup.TranslateTo(0, _pageHeight - CartPopup.PageHeader, AnimationDuration, Easing.SinInOut);
 }
        private void OnExpand()
        {
            var height = _pageHeight - CartPopup.PageHeader;

            CartPopup.TranslateTo(0, Height - height, AnimationDuration, Easing.SinInOut);
        }
예제 #6
0
 private void OnCollapse()
 {
     CartPopupFade.FadeTo(0, CollapseAnimationSpeed, Easing.SinInOut);
     CartPopupFade.IsVisible = false;
     CartPopup.TranslateTo(0, pageHeight - CartPopup.HeaderHeight, CollapseAnimationSpeed, Easing.SinInOut);
 }