Hi,
I am using ImageList to store a group of images.
I would like to read the image name from the imagelist based on index value.
Please let me know how can i do this....
Thanks,
Kumar.
Each item in the ImageList.Images collection is an object of Image class, which does not have a property, something like "Name". Are you expeccting the file name of the image that is added to the ImageList? When a image is added to ImageList from a file, it is the Image's binary data is read into the ImageList. That is, the file name only exists when a Image is saved as file. There is possible to create an Image without saving it as file. That is, there is no "Name" you can get from an Image object.
Norman Yuan