private async Task HideOutputFormatsLayout()
        {
            await PopupShadow.FadeTo(0, Popup_AnimationDuration, CustomPageAnimation.QuintIn);

            PopupShadow.IsVisible = false;
            Grid.SetRowSpan(PopupShadow, 4);
        }
 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)
         );
 }
コード例 #3
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;
        }
コード例 #4
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 ShowOutputFormatsLayout()
        {
            Grid.SetRowSpan(PopupShadow, 2);
            PopupShadow.IsVisible = true;
            await PopupShadow.FadeTo(Popup_ShadowOpacity, Popup_AnimationDuration, CustomPageAnimation.QuintOut);

            OcrFormatsPage ocrFormatsPage = new OcrFormatsPage(OutputDocumentFormat, false, true, true, DemoUtilities.DisplayHeight / 2, 15);

            ocrFormatsPage.SelectedFormatChanged += OcrFormatsPage_SelectedFormatChanged;
            PopupNavigation.Instance.Popped      -= PopupNavigation_Popped;
            PopupNavigation.Instance.Popped      += PopupNavigation_Popped;
            await PopupNavigation.Instance.PushAsync(ocrFormatsPage);
        }
        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;
        }