Metro-like theme for WPF [closed]
Asked Answered
D

1

25

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.

Dissension answered 11/8, 2010 at 12:49 Comment(5)
Try taking a look at this: codeproject.com/Articles/408211/… It's a Zune Style application template for WPF and Silverlight - all MVVM based and nice and easy to use - I've just published it so hopefully you or someone else will find it useful!Potence
Very cool - can the metro styling be used without the MVVM plumbing? That bit looks cool, too, but I have an existing project that I'd like to re-style.Kenley
Yeah it'll work without the MVVM plumbing - just look at MainWindow and MainView xaml files, there should be enough there (and in the ZuneResourceDictionary) xamls for you to use :)Potence
Great, I'll give it a whirl!Kenley
You might want to take a look at this question: #13592826Checkerwork
B
46

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.

Beera answered 13/3, 2011 at 3:32 Comment(3)
Looks great, thanks! Would love a metro-styled modal/non-modal window & dialog box - perhaps based on Tim Heuer's FloatableWindow project? floatablewindow.codeplex.comKenley
Will this work with silverlight 4-5 ?Spent
This is awesome, and still works well. Thanks Jenkins! I'm having a problem right now that I am using mahApps to solve. The only thing that I'm asking now is what is the best way to position these tiles.Poniard

© 2022 - 2024 — McMap. All rights reserved.