Creating and Opening Themes
- 2 minutes to read
Note
The WPF Theme Editor does not support the DevExpress WPF Controls 18.2 or later. Use the WPF Theme Designer tool instead.
This topic describes how to create a theme in the Theme Editor.
The Theme Editor allows you to clone a built-in DevExpress theme and edit a copy, leaving the original theme unchanged.
Create a New Theme via Cloning
As an alternative to editing built-in themes, you can clone them and edit the copies. This allows you to apply your changes to only specific applications, while preserving the visual style of applications that use built-in themes.
Note
As opposed to the predefined themes, Theme Editor does not sign the newly created ones. If your application requires using strong-named assemblies, you should then sign the theme assembly manually.
To create a new theme from a built-in one, follow the steps below:
Run Theme Editor. Open the File menu and click New.
The New Theme dialog will be displayed.
- Specify a name for the new theme in the Name field.
Select a DevExpress theme that should be cloned. Enter the path to the theme project file in the Base theme field, or click the Browse button to invoke the Open File dialog.
Note
DevExpress themes are located in the C:\Program Files (x86)\DevExpress 18.2\Components\Sources\DevExpress.Xpf.Themes\ directory.
Specify a location where the new theme will be created. Enter the path to the desired directory in the Target location field, or click the Browse button to invoke the Browse for Folder dialog.
Note
The new theme will be created in the %TargetLocation%\DevExpress.Xpf.Themes.%ThemeName%\ directory.
- Click OK to close this dialog. Theme Editor will clone the specified theme and open the copy for edit. For further instructions, see Editing Themes.
To learn how to apply a newly created theme to a WPF application, see Applying Themes.