SharpShade
SharpShade

Reputation: 2183

Microsoft Ribbon´s RibbonWindow disables visual styles

i just tried to use "RibbonWindow" to integrate my ribbon menu into the window. But now, if i start the program, it looks like punched with a glitchy classic-style.

This is, how it should look like: http://imageshack.us/photo/my-images/594/pfgok.png/

and this is how it looks like: http://imageshack.us/photo/my-images/840/pfgfail.png/

Why is this so? Thanks :)

Upvotes: 1

Views: 545

Answers (2)

Morten Frederiksen
Morten Frederiksen

Reputation: 5165

Found the reason. This is a known defect in the pre .Net 4.5 release. Details can be found on connect.microsoft.com:

.NET 4.5 WPF RibbonWindow broken in VS2012

This should be fixed in the final release.

Upvotes: 0

Teaman
Teaman

Reputation: 1

Try setting Window Class to RibbonWindow as in example

Upvotes: -1

Related Questions