DevExpress的galleryControl如何获取图片地址和名字
http://img.bbs.csdn.net/upload/201610/16/1476606386_368825.png想获取图片地址 和 名字 就是杜杜和学习那里
代码
Image im1 = Image.FromFile("f:\\1-1.jpg");
Image im2 = Image.FromFile("f:\\1-1.jpg");
Image im3 = Image.FromFile("f:\\1-1.jpg");
Image im4 = Image.FromFile("f:\\1-1.jpg");
Image im5 = Image.FromFile("f:\\1-1.jpg");
Image im6 = Image.FromFile("f:\\1-1.jpg");
Image im7 = Image.FromFile("f:\\1-1.jpg");
Image im8 = Image.FromFile("f:\\1-1.jpg");
Image im9 = Image.FromFile("f:\\1-1.jpg");
int a = 600;
int b = 300;
galleryControl2.Gallery.ItemImageLayout = ImageLayoutMode.ZoomInside;
galleryControl2.Gallery.ImageSize = new Size(a, b);
galleryControl2.Gallery.ShowItemText = true;
GalleryItemGroup group1 = new GalleryItemGroup();
group1.Caption = "选择本人照片";
galleryControl2.Gallery.Groups.Clear();
galleryControl2.Gallery.Groups.Add(group1);
group1.Items.Add(new GalleryItem(im1, "杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜杜", "学习学习学习学习学习学习学习学习学习学习学习学习学习学习学习学习"));
group1.Items.Add(new GalleryItem(im2, "22", "33"));
group1.Items.Add(new GalleryItem(im3, "", ""));
group1.Items.Add(new GalleryItem(im4, "", ""));
group1.Items.Add(new GalleryItem(im5, "", ""));
group1.Items.Add(new GalleryItem(im6, "", ""));
group1.Items.Add(new GalleryItem(im7, "", ""));
group1.Items.Add(new GalleryItem(im8, "", ""));
group1.Items.Add(new GalleryItem(im9, "", ""));
请问如果想删除或移除指定图片该怎么写
页:
[1]