When requesting an image from the ImageCollection, the ResolveImage event fires when the project resources do not contain a DPI-specific image that matches the requested image and allows you to provide this DPI-specific image manually. This event is in effect when the ImageCollection.IsDpiAware option is enabled and the requested image was loaded into the ImageCollection from the project resources.
[DXCategory("Events")] public event ImageCollectionResolveImageEventHandler ResolveImage
<DXCategory("Events")> Public Event ResolveImage As ImageCollectionResolveImageEventHandler
The ResolveImage event's data class is DevExpress.Utils.ImageCollectionResolveImageEventArgs.
The ResolveImage event is in effect if the ImageCollection.IsDpiAware option is enabled. See this topic for information on displaying different images in different DPI display modes.
When handling the ResolveImage event, you can provide a DPI-specific image with the event's Image parameter. The event's ResourceName parameter identifies the name of the image requested from the ImageCollection. The Dpi parameter identifies the DPI value for which the DPI-specific image needs to be returned.