There is a listbox that contains images, and canvas as a drag box, explain to me how to add drag and drop for images to place them on the canvas and make one image of them at the touch of a button.
Fill listbox:
CClothContext db = new CClothContext(); var ClList = db.Clothe.ToList(); foreach (var num in ClList) { Image img = new Image(); img.Source = byteArrayToImage(num.Cloth_img).Source; ClothList.Items.Add(img); }