public SongResultBindingModel( string search, SongBindingModel result, string subtitle) : base(search, result.Title) { this.result = result; this.subtitle = subtitle; }
public void SelectSongByIndex(int index) { if (this.Songs.Count <= index) { return; } if (index == -1) { this.ClearSelectedItems(); } else { SongBindingModel selectedSong = this.Songs[index]; if (!this.SelectedItems.Contains(selectedSong)) { this.SelectedItems.Add(selectedSong); } } }