Back to Devexpress

Theme Font Settings

aspnetmvc-402240-common-features-webconfig-modifications-webconfig-options-theme-font-settings.md

latest1.8 KB
Original Source

Theme Font Settings

  • Sep 29, 2022

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.

Name

font

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