public PlaylistContainerCards(PlaylistItemListResponse playlistItemListResponse, string playlistName, TextBlock songLabel, Rectangle backgroundRectangle, ChromiumWebBrowser youtubePlayer, PlaylistCards parentCard, ScrollViewer playlistScrollViewer, Button playButton) { InitializeComponent(); PlaylistItemListResponse = playlistItemListResponse; PlaylistName = playlistName; YoutubePlayer = youtubePlayer; SongLabel = songLabel; BackgroundRectangle = backgroundRectangle; PlaylistTitle.Text = playlistName; ChannelTitle.Text = playlistItemListResponse.Items[0].Snippet.ChannelTitle; _parentCard = parentCard; _playlistScrollViewer = playlistScrollViewer; _playButton = playButton; }
public UserPlaylistsContainer(PlaylistCards card, ScrollViewer playlistScrollViewer) { InitializeComponent(); _card = card; _playlistScrollViewer = playlistScrollViewer; }