Back to Devexpress

Theme Font Settings

aspnet-117655-common-concepts-webconfig-modifications-webconfig-options-theme-font-settings.md

latest1.8 KB
Original Source

Theme Font Settings

  • Jan 13, 2021

Note

This option is available starting with version 2016 vol.2.3.

This option specifies the font settings for the theme that will be globally applied to all DevExpress controls within a website.

Refer to the Changing Theme Base Color and Font Settings topic to learn more.

Declaration:

xml
<configuration>
    ...
    <devExpress>
        ...
        <themes enableThemesAssembly="true" styleSheetTheme="" theme="Metropolis" 
            customThemeAssemblies="" baseColor="Green" font="30px 'Calibri'" />
        ...
    </devExpress>
    ...
</configuration>

Note

In order to use the DevExpress Web.config section, register this section group beforehand.

This option is set to an empty string by default.

DevExpress configuration section

Corresponding Class

ThemesConfigurationSection

See Also

Font

BaseColor

Theme

ThemesConfigurationSection

Style Sheet Theme Name

Availability of Themes Assembly

ASPxThemes Assembly