Skip to main content
.NET 8.0+

ImageLoader.GetDialogImageInfo(String, Boolean, String) Method

Supplies metadata on an image used in dialog windows.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ImageInfo GetDialogImageInfo(
    string imageName,
    bool isEnabled,
    string imageFolder
)

Parameters

Name Type Description
imageName String

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

isEnabled Boolean

true, if the retrieved image is converted to grayscale; otherwise, false.

imageFolder String

A string holding the name of the required image folder.

Returns

Type Description
ImageInfo

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

Remarks

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 Replace Icons help topic.

See Also