4

I have a problem with WPF RibbonWindow and Windows 8. In older windows everything works fine, but on Windows 8 control box (minimalize, maximalize and exit buttons) looks terrible windows8

I use RibbonControlLibrary from Microsoft (version from October 2010) XAML code is included http://pastebin.com/cNws0CGt (without irrelevant information, I hope I haven't deleted something important)

Expected output (Windows 7): expected

N_A
  • 19,799
  • 4
  • 52
  • 98
Vojta
  • 358
  • 4
  • 10
  • 1
    I figured it out, I know this is an old question but he this pops up in Google so for all the people that will see this in the future! ANSWER DOWN HERE!!! http://stackoverflow.com/a/21675624/3239917 – MCollard Feb 07 '14 at 13:58

1 Answers1

2

What you're asking about is the window theme. The reason it is different in Windows 8 is because Windows 8 has a different default theme than Windows 7. To standardize this you will need to set an explicit theme for your project.

See here on how to explicitly set your theme.

More details on what themes are available in Windows 8 here.

Edit:

See here for details on why this isn't Windows 8 themed. It appears to be a bug that should have been fixed. Check your .net runtime version to make sure it is the latest.

Community
  • 1
  • 1
N_A
  • 19,799
  • 4
  • 52
  • 98
  • It isn't working yet. Maybe there can be problem I use .NET 4. With .NET 4.5 it works [link](http://stackoverflow.com/questions/12511416/window-style-with-wpf-ribbon-from-microsoft-doesnt-match-windows-8-style) – Vojta Dec 11 '12 at 06:45