Skip to main content
.NET 6.0+

ImageLoader.GetImageInfo(String, Boolean, String) Method

Supplies metadata on a standard-sized image.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Parameters

Name Type Description
imageName String

The image’s name.

isEnabled Boolean

Specifies which image should be returned. If true, returns the image with the specified imageName. If false, returns a monochrome image (not SVG), or looks for the image with the name imageName_Disabled (SVG).

imageFolder String

The name of the folder where the image resides.

Returns

Type Description
ImageInfo

The ImageInfo object.

See Also