Exemplo n.º 1
0
 private void ShowCommands()
 {
     SpeedRateTextBlock.Visibility = Visibility.Visible;
     _timer.Start();
     UIAnimationHelper.FadeIn(Commands);
     isCommandShown = true;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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);
     }
 }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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;
     }));
 }
Exemplo n.º 6
0
 public void Show()
 {
     UIAnimationHelper.FadeIn(this);
 }
Exemplo n.º 7
0
 private void ImageOpened(object sender, RoutedEventArgs routedEventArgs)
 {
     UIAnimationHelper.FadeIn(FirstImage);
 }
Exemplo n.º 8
0
 public void Show()
 {
     UIAnimationHelper.FadeIn(this);
     FadeInAnimation.Begin();
 }