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