WPF 的类似 Metro 的主题

发布于 2024-09-14 01:36:58 字数 113 浏览 2 评论 0原文

我想知道在哪里可以获得类似于 Windows 版 Zune 应用程序(或 WPF 版 MetroTwit)的主题。

我用谷歌搜索,但我只得到了 Silverlight 4 的主题,而不是 WPF。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一刻暧昧 2024-09-21 01:36:58

复活一个死帖子,也许是自我推销?然而,可以肯定的是,我(相对最近)开始了一个 Metro 主题包,主要基于我在 MahTweets 中创建的内容以及专门针对 WPF

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

使用方法很简单,只是

<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>

WPF 的使用方式有一些注意事项处理您必须研究的其他程序集的主题。

它是免费的、开源的,如果其他人正在 WPF 中寻找此类东西,我们希望得到更多贡献。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文