Mikhail Gubanov
Mikhail Gubanov

Reputation: 420

WPF RibbonWindow Metro Style

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.

Upvotes: 2

Views: 2647

Answers (1)

WiiMaxx
WiiMaxx

Reputation: 5420

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

Upvotes: 1

Related Questions