Skip to main content
.NET 8.0+

ImageLoader.GetSmallImageInfo(String) Method

Supplies metadata on an image used by ASP.NET Web Forms Property Editors.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public ImageInfo GetSmallImageInfo(
    string imageName
)

Parameters

Name Type Description
imageName String

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

Returns

Type Description
ImageInfo

An ImageInfo object supplying metadata on an image used by ASP.NET Web Forms Property Editors.

Remarks

To customize metadata returned by the GetSmallImageInfo 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.

The following code snippet illustrates use of the GetSmallImageInfo method. The code retrieves the small Action_Open image.

using System.Drawing;
//...
Image image = ImageLoader.Instance.GetSmallImageInfo("Action_Open").Image;
See Also