Exemplo n.º 1
0
        private void LoadData(Song currentSong = null)
        {
            QueueSong queueSong;

            if (currentSong != null)
            {
                queueSong = ConvertTrackToQueueTrack(currentSong);
            }
            else
            {
                queueSong = ConvertTrackToQueueTrack(App.Locator.Player.CurrentSong);
            }

            CurrentQueueView.SelectedItem = queueSong;
            CurrentQueueView.ScrollIntoView(CurrentQueueView.SelectedItem);
        }
Exemplo n.º 2
0
 private void AudioPlayerHelperOnTrackChanged(object sender, EventArgs eventArgs)
 {
     CurrentQueueView.SelectedItem = App.Locator.Player.CurrentQueue;
     CurrentQueueView.ScrollIntoView(CurrentQueueView.SelectedItem);
     Pivot_SelectionChanged(null, null);
 }
Exemplo n.º 3
0
 private void CurrentQueueViewOnLoaded(object sender, RoutedEventArgs routedEventArgs)
 {
     CurrentQueueView.SelectedItem = App.Locator.Player.CurrentQueue;
     CurrentQueueView.ScrollIntoView(CurrentQueueView.SelectedItem);
 }