private void ResetAnimationUIContainer_Loaded1(object sender, RoutedEventArgs e) { AnimationUICommandBar.Offset(offsetY: (float)AnimationUICommandBar.ActualHeight, duration: 0).Start(); SwipeProcessScreen.Tapped += SwipeProcessScreen_Tapped; SwipeProcessScreen.ManipulationMode = ManipulationModes.TranslateY | ManipulationModes.TranslateX; SwipeProcessScreen.ManipulationStarting += SwipeProcessScreen_ManipulationStarting; SwipeProcessScreen.ManipulationStarted += SwipeProcessScreen_ManipulationStarted; SwipeProcessScreen.ManipulationCompleted += SwipeProcessScreen_ManipulationCompleted; SystemNavigationManager.GetForCurrentView().BackRequested += ImageViewerPage_BackRequested; }
private async Task CompleteOpenBottomUI() { AnimationUIContainer.Fade(1.0f, duration: 175).Start(); await AnimationUICommandBar.Offset(offsetY : 0, duration : 175).StartAsync(); }
private void CloseBottomUI() { AnimationUICommandBar.Offset(offsetY: (float)AnimationUICommandBar.ActualHeight, duration: 175).Start(); AnimationUIContainer.Fade(0.0f, duration: 175).Start(); }