Supplies metadata information on an image used in an XAF application.
Related API Members
The following members accept/return ImageInfo objects:
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ImageInfo struct.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.