user2668470
user2668470

Reputation: 301

WPF controls look like WinForms - what settings I'm missing?

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

Answers (1)

Michael
Michael

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

Related Questions