Wednesday, 15 February 2012

c# - How to change DevExpress GridControl default theme in WPF control which is used in MFC -


I am using a WPF control (which is using DevExpress GridControl) in the MFC application, I want to change its default One way to change the blue theme is to know.

I tried:

DevExpress.Xpf.Core.ThemeManager.ApplicationThemeName = "Office2007Black";

And it works fine, as if I am using this control in the WPF application. But when I put that control inside the MFC application, it stops working.

It is working with this magic line:

  ThemeManager.SetThemeName (this, "Office2007blue");  

No comments:

Post a Comment