Back to Devexpress

Theme Name

aspnetmvc-402241-common-features-webconfig-modifications-webconfig-options-theme-name.md

latest1.4 KB
Original Source

Theme Name

  • Jan 14, 2021

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

Name

theme

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