Skip to main content

Theme Font Settings

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

<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