Reputation: 301
I run my WPF application (.Net 4.0) on a server (Microsoft Server 2008 R2 Enterprise - Service Pack 1).
On my desktop machine all the WPF controls look nice. On the server, many of them look really awful, like totally unstyled WinForms controls.
Could you please suggest what kind of configuration is required for a machine in order to show WPF controls properly.
Upvotes: 1
Views: 90
Reputation: 1596
I'm pretty sure this has to do with Server 2008 R2's use of the classic theme.
I would check this blog post here: http://www.kennethham.com/wp/2010/11/force-wpf-to-use-windows-7aero-theming-in-classic-mode/
You need to force the application to use Win7/Aero theming.
Upvotes: 1