void HideCommands() { _timer.Stop(); UIAnimationHelper.FadeOut(Commands); SpeedRateTextBlock.Visibility = Visibility.Collapsed; isCommandShown = false; }
public SearchFlyout() { this.InitializeComponent(); Window.Current.CoreWindow.KeyDown += (sender, arg) => { if (arg.VirtualKey == Windows.System.VirtualKey.Enter) { Search(); } }; UIAnimationHelper.FadeOut(this); ComboBox.ItemsSource = _comboBoxStrings; }
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 MusicColumn() { this.InitializeComponent(); this.Loaded += (sender, args) => { if (_isLoaded) { return; } UIAnimationHelper.FadeOut(TracksPanel); for (int i = 0; i < SectionsGrid.Children.Count; i++) { if (i != _currentSection) { UIAnimationHelper.FadeOut(SectionsGrid.Children[i]); } } _isLoaded = true; }; this.SizeChanged += OnSizeChanged; }
public MainPage() { InitializeComponent(); this.SizeChanged += OnSizeChanged; this.Loaded += (sender, args) => { FadeOutPage.Begin(); ChangeLayout(Window.Current.Bounds.Width); for (int i = 0; i < SectionsGrid.Children.Count; i++) { if (i == _currentSection) { continue; } UIAnimationHelper.FadeOut(SectionsGrid.Children[i]); } FadeInPage.Begin(); if (!string.IsNullOrEmpty(App.TemporaryMRL)) { OpenVideoFromFileExplorer(); } }; NavigationCacheMode = NavigationCacheMode.Enabled; }
public void Hide() { UIAnimationHelper.FadeOut(this); }
public AlbumFlyout() { this.InitializeComponent(); UIAnimationHelper.FadeOut(this); }
public VerticalAlbumItemTemplate() { this.InitializeComponent(); UIAnimationHelper.FadeOut(PlayListGrid); }
public void Hide() { FadeOutAnimation.Begin(); UIAnimationHelper.FadeOut(this); }