how to add any number of album art into listbox?.this is my code <pre lang="c#"> BitmapFrame bmp = null; public int Getpic(string s) { img.Source = null; string a = s; MemoryStream stream = null; TagLib.File file = TagLib.File.Create(a); //FilePath is the audio file location if (file.Tag.Pictures.Length >= 1) { TagLib.IPicture pic = file.Tag.Pictures[0]; //pic contains data for image. stream = new MemoryStream(pic.Data.Data);//create an in memory stream bmp = BitmapFrame.Create(stream); img.Source = bmp; }
System.Windows.Controls.ItemControl
System.Windows.Controls.ListBox
Items
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)