Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageLoader.GetImageInfo(String, Boolean, String) Method

Supplies metadata on a standard-sized image.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.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