windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-b09a7c36.md
Gets or sets the default icon font style.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public static FontIconsStyle FontIconsStyle { get; set; }
Public Shared Property FontIconsStyle As FontIconsStyle
| Type | Description |
|---|---|
| DevExpress.Utils.FontIconsStyle |
The icon form style.
|
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:
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());
}
}
}
Imports System
Imports System.Windows.Forms
Imports DevExpress.Utils
Imports DevExpress.XtraEditors
Namespace DXApplication39
Friend Module Program
''' <summary>
''' The main entry point for the application.
''' </summary>
<STAThread>
Sub Main()
Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
WindowsFormsSettings.FontIconsStyle = FontIconsStyle.Win10
Application.Run(New Form1())
End Sub
End Module
End Namespace
Read the following topic for additional information: Font Icon Images.
See Also