The requested page is not available for the requested platform. You are viewing the content for Default platform.

Build and Export New Themes

The Theme Designer allows you to build ready to use theme assemblies, and export edited themes as a Visual Studio solution to further edit and build. This topic covers both of these scenarios.

Build Themes

The WPF Theme Designer uses the incremental build mechanism. Refer to the Incremental Build Model topic for more information.

Note

The incremental build mechanism is available with the DevExpress WPF Controls v18.2.6 and later.

Build Section Ribbon

The following options are availbale in the build ribbon's section:

  • Build Solution - performs an incremental build.
  • Rebuild Solution - cleans and then builds the solution from scratch, ignoring anything is done before.
  • Clean Solution - removes the build artifacts from the previous build.

Publish Edited Themes

You need to build a theme assembly to apply a theme to your application. Click the ribbon's Publish item to build your theme assembly.

publish.png

When the build is completed, the Theme Designer prompts you to open a folder with the published assembly.

publish_success.png

Note

The default location of a theme assembly file is "C:\Users\%user_name%\Documents\Theme Designer\%theme_name%\.td\Publish".

You can use your custom theme as a base for a new theme created in runtime. Refer to the WPF Palettes topic for more information.

Export Edited Themes

The Theme Designer allows you to export the theme project as a Visual Studio solution. You can edit and build the exported theme in Visual Studio.

Follow the next steps to export a theme:

  1. go to the Export tab
  2. specify the folder where you want to export your solution
  3. click the Export button.

Export.png

See Also