Supplies metadata information on an image used in an XAF application.
An ImageInfo instance represents an image used in an XAF application. The ImageInfo's properties provide access to the image, as well as to the associated metadata, such as image dimensions and the image name.
In XAF, images are managed via the ImageLoader class. To get an ImageInfo instance representing an image, you can use the ImageLoader class' Get...ImageInfo methods. The following code snippet illustrates retrieving the BO_Customer image via the ImageInfo.Image property.
using System.Drawing; //... Image customer = ImageLoader.Instance.GetImageInfo("BO_Customer").Image;
For general guidelines on using images in an XAF application, refer to the Add and Override Images help topic.