private void ShowCommands() { SpeedRateTextBlock.Visibility = Visibility.Visible; _timer.Start(); UIAnimationHelper.FadeIn(Commands); isCommandShown = true; }
private void ChangedSectionsHeadersState(int i) { if (i == _currentSection) { return; } UIAnimationHelper.FadeOut(SectionsGrid.Children[_currentSection]); UIAnimationHelper.FadeIn(SectionsGrid.Children[i]); _currentSection = i; //for (int j = 0; j < SectionsHeaderListView.Items.Count; j++) // Locator.MainPageVM.VideoVM.Panels[j].Opacity = 0.4; Locator.MainPageVM.VideoVM.Panels[i].Opacity = 1; }
private void Album_OnTapped(object sender, TappedRoutedEventArgs e) { if (PlayListGrid.Visibility == Visibility.Visible) { ClosePlayListArrow.Visibility = Visibility.Collapsed; OpenPlayListArrow.Visibility = Visibility.Visible; UIAnimationHelper.FadeOut(PlayListGrid); } else { OpenPlayListArrow.Visibility = Visibility.Collapsed; ClosePlayListArrow.Visibility = Visibility.Visible; UIAnimationHelper.FadeIn(PlayListGrid); } }
public void ChangedSectionsHeadersState(int i) { AlbumsByArtistSemanticZoom.IsZoomedInViewActive = true; AlbumsByArtistSnapSemanticZoom.IsZoomedInViewActive = true; if (_currentSection == i) { return; } UIAnimationHelper.FadeOut(SectionsGrid.Children[_currentSection]); UIAnimationHelper.FadeIn(SectionsGrid.Children[i]); _currentSection = i; for (int j = 0; j < SectionsHeaderListView.Items.Count; j++) { Locator.MainPageVM.MusicLibraryVm.Panels[j].Opacity = 0.4; } Locator.MainPageVM.MusicLibraryVm.Panels[i].Opacity = 1; }
public Task ChangedSectionsHeadersState(int i) { if (i == _currentSection) { return(Task.FromResult(false)); } return(DispatchHelper.InvokeAsync(() => { UIAnimationHelper.FadeOut(SectionsGrid.Children[_currentSection]); UIAnimationHelper.FadeIn(SectionsGrid.Children[i]); _currentSection = i; for (int j = 0; j < SectionsHeaderListView.Items.Count; j++) { Locator.MainPageVM.Panels[j].Opacity = 0.4; } Locator.MainPageVM.Panels[i].Opacity = 1; })); }
public void Show() { UIAnimationHelper.FadeIn(this); }
private void ImageOpened(object sender, RoutedEventArgs routedEventArgs) { UIAnimationHelper.FadeIn(FirstImage); }
public void Show() { UIAnimationHelper.FadeIn(this); FadeInAnimation.Begin(); }