3
Answers

How to Apply theme to specific devexpress controls in wpf

Yadagiri Reddy

Yadagiri Reddy

10y
3.5k
1
hi,
i created one Devexpress theme based on office 2007 Black.
when i'm applying this theme to my project with the following code, it is changing the standard button style.
Theme theme = new Theme("NewTheme", "DevExpress.Xpf.Themes.NewTheme.v14.1");
theme.AssemblyName = "DevExpress.Xpf.Themes.NewTheme.v14.1";
Theme.RegisterTheme(theme);
ThemeManager.SetTheme(this, theme); 
how can i apply this theme to specific controls. like date edit,grid control etc..
Answers (3)