.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ImageLoader.UseSvgImages Property

Enables SVG images in WinForms applications.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v20.1.dll


public bool UseSvgImages { get; set; }
Public Property UseSvgImages As Boolean

Property Value

Type Description

true, if the SVG images are enabled for a WinForms application; otherwise, false.


The Solution Wizard enables SVG images for all new XAF WinForms applications. If you need to use PNG images instead, set this property to false.

If an existing XAF application was created in v18.1 or earlier, it uses PNG images. To replace them with new SVG images, do the following:

  • Check that your application uses new templates. The UseOldTemplates article demonstrates how to verify this. Old templates do not support SVG images.

  • Set the UseSvgImages property to true in the Program.cs(vb) file:

    public class Program {
      public static void Main(string[] arguments) {
        // ...
        MyApplication winApplication = new MyApplication();
        DevExpress.ExpressApp.Utils.ImageLoader.Instance.UseSvgImages = true;
        // ...
See Also