通过地铁DynamicResource启动画面颜色在Windows 8? [英] Color of startscreen in Windows 8 through Metro DynamicResource?

查看:156
本文介绍了通过地铁DynamicResource启动画面颜色在Windows 8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在以下路径通过Generic.xaml和ThemeResources.xaml看:

I've looked through Generic.xaml and ThemeResources.xaml in the following path:

C:\Program文件(x86 )\Windows Kits\8.0\Include\WinRT\Xaml\Design

C:\Program Files (x86)\Windows Kits\8.0\Include\WinRT\Xaml\Design

然而,他们似乎并没有包含我可以以检索在Windows 8开始屏幕选择当前方案的颜色使用资源的关键。

However, they don't seem to contain a resource key that I can use in order to retrieve the color of the current scheme selected in the Windows 8 start screen.

颜色我试图检索通过在XAML中的DynamicResource看到下面的视觉,来证明我的观点。

The color I am trying to retrieve through a DynamicResource in the XAML is seen visually below, to demonstrate my point.

颜色我试图找回

推荐答案

有没有可使用当前选定的Windows主题API颜色。

There is no API available to use the currently selected Windows theme color.

这篇关于通过地铁DynamicResource启动画面颜色在Windows 8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆