Yadagiri Reddy

Yadagiri Reddy

  • NA
  • 3.3k
  • 997k

How to Apply theme to specific devexpress controls in wpf

Nov 1 2014 4:04 AM
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)