DevExpress Silverlight Themes
StyleManager allows you to apply a predefined theme (designed by DevExpress) to an entire application (to all controls, standard or developed by DevExpress). To use a theme, reference the corresponding assembly.
Theme | Assembly | Image |
---|---|---|
DXStyle (Default) | DevExpress. |
![]() |
Deep |
DevExpress. |
![]() |
Light |
DevExpress. |
![]() |
Metropolis Dark | DevExpress. |
![]() |
Metropolis Light | DevExpress. |
![]() |
Office2007Black | DevExpress. |
![]() |
Office2007Blue | DevExpress. |
![]() |
Office2007Silver | DevExpress. |
![]() |
Office2010Black | DevExpress. |
![]() |
Office2010Blue | DevExpress. |
![]() |
Office2010Silver | DevExpress. |
![]() |
Office2013 | DevExpress. |
![]() |
Seven | DevExpress. |
![]() |
VS2010 | DevExpress. |
![]() |
Touchline |
DevExpress. |
![]() |
#Applying a Theme to All Controls
To apply a theme to all controls (standard and DevExpress), do the following:
- Reference the corresponding theme assembly.
Specify the required theme. Note that this should be done in code behind.
using System.Windows.Controls; using DevExpress.Xpf.Core; public partial class MainPage : UserControl { public MainPage() { ThemeManager.ApplicationTheme = Theme.Office2007Blue; InitializeComponent(); } }
NOTE
Theme assemblies contain appearance settings of all controls developed by DevExpress for Silverlight. When running the application under Visual Studio, the style manager checks whether all Dev