Back to Devexpress

Attach a Custom Theme Assembly

aspnet-16728-common-concepts-appearance-customization-theming-attaching-a-custom-theme-assembly.md

latest1.4 KB
Original Source

Attach a Custom Theme Assembly

  • Jun 16, 2022

To apply a theme from a custom theme assembly created with the ASPxThemeBuilder tool, you will need to reference the assembly within your project.

  • In the Solution Explorer window, right click the site’s References folder and click Add Reference…

  • Click the Browse… button, select the required theme assembly, and click Add.

  • Assign the assembly name to the customThemeAssemblies option in the devExpress web.config section.

You can now apply the custom theme to your project.

Note

A custom theme assembly’s version (major and minor versions) should match other DevExpress assemblies used within the project. If the version is different, upgrade the theme assembly’s source code, rebuild the assembly, and upgrade corresponding references in the target application. See the following topic for more information: How to Update a Custom Theme to a Newer Version.

See Also

Apply a Theme with the DevExpress Mechanism