Skip to main content
All docs
V23.2

WindowsFormsSettings.FontIconsStyle Property

Gets or sets the default icon font style.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

public static FontIconsStyle FontIconsStyle { get; set; }

Property Value

Type Description
DevExpress.Utils.FontIconsStyle

The icon form style.

Remarks

The DevExpress Image Picker displays icons from the most recent icon font (FontIconsStyle.Latest). For example, the font “Segoe Fluent Icons” is used as the default font if fonts “Segoe Fluent Icons” and “Segoe MDL2 Assets” are available on the system.

Use the WindowsFormsSettings.FontIconsStyle setting to specify the default icon font as needed:

Font Icon Images in Windows 10/11

using System;
using System.Windows.Forms;
using DevExpress.Utils;
using DevExpress.XtraEditors;

namespace DXApplication39 {
    internal static class Program {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main() {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WindowsFormsSettings.FontIconsStyle = FontIconsStyle.Win10;
            Application.Run(new Form1());
        }
    }
}

Read the following topic for additional information: Font Icon Images.

See Also