private async Task ShowAnnotationsLayout()
 {
     PopupShadow.IsVisible = true;
     // Animate
     await Task.WhenAll(
         Animator.AnimatePanelAsync(AnnotationsLayout, AnimationDirection.BottomToTop, true, Popup_AnimationDuration),
         PopupShadow.FadeTo(Popup_ShadowOpacity, Popup_AnimationDuration, CustomPageAnimation.QuintOut)
         );
 }
Exemple #2
0
        public async Task HideExportDocumentLayout()
        {
            ExportDocumentLayout.IsVisible = false;
            await Task.WhenAll(
                PopupShadow.FadeTo(0, Popup_AnimationDuration, CustomPageAnimation.QuintIn),
                Animator.AnimatePanelAsync(ExportDocumentLayout, false, false, Popup_AnimationDuration)
                );

            PopupShadow.IsVisible = false;
        }
Exemple #3
0
        public async Task ShowExportDocumentLayout()
        {
            OutputDocumentNameLabel.Text = Path.GetFileName(_documentPath);

            // Animate
            PopupShadow.IsVisible          = true;
            ExportDocumentLayout.IsVisible = true;
            await Task.WhenAll(
                PopupShadow.FadeTo(Popup_ShadowOpacity, Popup_AnimationDuration, CustomPageAnimation.QuintOut),
                Animator.AnimatePanelAsync(ExportDocumentLayout, false, true, Popup_AnimationDuration)
                );
        }
        private async Task ShowExportDocumentLayout()
        {
            OutputDocumentNameLabel.Text = PageTitle.Text;

            // Animate
            PopupShadow.IsVisible        = true;
            OutputDocumentNameEntry.Text = string.Empty;
            await Task.WhenAll(
                PopupShadow.FadeTo(Popup_ShadowOpacity, Popup_AnimationDuration, CustomPageAnimation.QuintOut),
                Animator.AnimatePanelAsync(ExportDocumentLayout, AnimationDirection.BottomToTop, true, Popup_AnimationDuration)
                );
        }
        private async Task HideAnnotationsLayout()
        {
            if (!AnnotationsLayout.IsVisible)
            {
                return;
            }

            await Task.WhenAll(
                PopupShadow.FadeTo(0, Popup_AnimationDuration, CustomPageAnimation.QuintIn),
                Animator.AnimatePanelAsync(AnnotationsLayout, AnimationDirection.BottomToTop, false, Popup_AnimationDuration)
                );

            PopupShadow.IsVisible = false;
        }
Exemple #6
0
 public async Task HideFlashModesPanel()
 {
     await Animator.AnimatePanelAsync(FlashModesContainer, AnimationDirection.BottomToTop, false, AnimationDuration);
 }