Back to Devexpress

Theme Base Color

aspnetmvc-402239-common-features-webconfig-modifications-webconfig-options-theme-base-color.md

latest1.8 KB
Original Source

Theme Base Color

  • Sep 29, 2022

This option specifies the name of the base color for the theme that will be globally applied to all DevExpress components within a website.

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

Name

baseColor

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

BaseColor

Font

Theme

ThemesConfigurationSection

Style Sheet Theme Name

Availability of Themes Assembly

ASPxThemes Assembly