ImageLoader.GetDialogImageInfo(String) Method

Supplies metadata on an image used in dialog windows.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v18.2.dll


public ImageInfo GetDialogImageInfo(
    string imageName
Public Function GetDialogImageInfo(
    imageName As String
) As ImageInfo


Type Name Description
String imageName

A string holding the name of the required image. This parameter is case-insensitive.


Type Description

An ImageInfo object supplying metadata on an image used in dialog windows.

To customize metadata returned by the GetDialogImageInfo method, handle the ImageLoader.CustomizeImageInfo event.

For general guidelines on using images in an XAF application, refer to the Add and Override Images help topic.

The following code snippet illustrates use of the GetDialogImageInfo method. The code retrieves the State_Validation_Valid dialog image.

using System.Drawing;
Image image = ImageLoader.Instance.GetDialogImageInfo("State_Validation_Valid").Image;
See Also