Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Metro-like theme for WPF [closed]

I would like to know where i can get the theme that looks like Zune application for Windows (or MetroTwit) for WPF.

I google it but i only get the theme for Silverlight 4, not WPF.

like image 453
Guilherme Defreitas Avatar asked Aug 11 '10 12:08

Guilherme Defreitas


1 Answers

Resurrecting a dead post, perhaps, self promoting? More than certain, however, I've (relatively recently) started a Metro theme pack largely based on stuff I've created in MahTweets and from the Silverlight Cosmopolitan theme pack specifically for WPF

https://github.com/MahApps/MahApps.Metro

Usage is simple, just

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml"/>
            <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml"/>
            <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml"/>
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
</Application.Resources>

There are some caveats over the way WPF handles theming from other assemblies that you will have to look into.

It's free, open source and would love further contributions if others are looking for this sort of thing in WPF.

like image 54
Paul Jenkins Avatar answered Nov 19 '22 08:11

Paul Jenkins