Back to Devexpress

Theme Name

aspnet-11677-common-concepts-webconfig-modifications-webconfig-options-theme-name.md

latest1.4 KB
Original Source

Theme Name

  • Jan 13, 2021

This option specifies the name of a default or custom visual theme to be globally applied to all DevExpress controls within a website.

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

ThemesConfigurationSection

Theme

Style Sheet Theme Name

Availability of Themes Assembly

ASPxThemes Assembly