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.Instance Property

Provides access to the ImageLoader instance.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public static ImageLoader Instance { get; }

#Property Value

Type Description
ImageLoader

An ImageLoader object representing the ImageLoader instance.

#Remarks

ImageLoader is a singleton. So, only a single instance of the ImageLoader class can be instantiated in an application. To invoke ImageLoader‘s instance methods, you need to use the ImageLoader instance, accessible via the Instance property. The following code snippet illustrates this. The code retrieves the BO_Customer image using the ImageLoader.GetImageInfo method.

using System.Drawing;
//...
var customer = ImageLoader.Instance.GetImageInfo("BO_Customer").Image;
See Also