2

How can I make RibbonWindow look in metro style for Windows7? I have tried this solution https://github.com/D-Key/whosh but it brokes QuickAccess bar.

Mikhail Gubanov
  • 420
  • 6
  • 13
  • there is no big difference between normal Ribbonstyle and Metrostyle just take a look at office and how they did that in excel and word (like you will see they did nearly nothing it's all basic style inheritance) – WiiMaxx Feb 06 '14 at 13:40
  • How can I change RibbonWindow to metrostyle only by changing style? – Mikhail Gubanov Feb 06 '14 at 14:04
  • it should change it style automatically based on the default style of your OS so if you are working on an Win8 OS your ribbon should looks like a Ribbon for Win8 BUT if you are talking about the App style your project need to be an App – WiiMaxx Feb 06 '14 at 14:25
  • I'm talking about win7. Updated question text. – Mikhail Gubanov Feb 06 '14 at 14:30

1 Answers1

1

OK you will need to set an explicit theme for your project.

How to set an explicit theme?

  1. Add your Style dll to your application's references list as a requires
  2. Edit your App.xaml

.

<Application.Resources>
  <ResourceDictionary>
    <!-- other stuff -->
    <ResourceDictionary.MergedDictionaries>
      <!--example style-->
      <ResourceDictionary Source="/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml"/>
    </ResourceDictionary.MergedDictionaries>
  </ResourceDictionary>
</Application.Resources>

What theme's are available in Win8?

a quick search and i found PresentationFramework.Aero2.dll but there are sure some other styles

Community
  • 1
  • 1
WiiMaxx
  • 5,322
  • 8
  • 51
  • 89