RibbonWindow Office 2007 黑色主题的调色板(使用的颜色)?

发布于 2024-07-24 03:52:00 字数 331 浏览 4 评论 0原文

我的 RibbonWindow 使用 Office 2007 黑色主题,并且非常喜欢它使用的所有颜色。 这是我的功能区窗口资源中包含的资源字典。

<ResourceDictionary Source="/RibbonControlsLibrary;component/Themes/Office2007Black.xaml"/>

我想在我的用户控件中镜像该主题的颜色。 有没有列出该主题中的主要颜色的资源?

我已经截取了屏幕截图来获取某些颜色的十六进制值,但希望在某个地方可能有该主题的调色板。

谢谢, 史蒂文

I am using the Office 2007 Black theme for my RibbonWindow and really like all of the colors it uses. Here is the resource dictionary included in my ribbon window's resources.

<ResourceDictionary Source="/RibbonControlsLibrary;component/Themes/Office2007Black.xaml"/>

I would like to mirror the colors of this theme in my user controls. Is there any resource that lists the main colors in this theme?

I've taken screenshots to get the hex value of some of the colors, but was hoping there may be a color palette for this theme available somewhere.

Thanks,
Steven

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

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

发布评论

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

评论(2

瀞厅☆埖开 2024-07-31 03:52:00

史蒂文,你知道吗? 昨天,我也在做同样的事情。 我确实设法通过使用一个名为 Reflector 的工具和一个插件 - “Baml Viewer”来获取主题。

Baml Viewer 将 dll 中存储的 BAML 反汇编为相应的 XAML。

反射器:http://www.red-gate.com/products/reflector/

如果您确实没有心情弄清楚其余部分,或者您现在可能需要主题,请告诉我。

Steven, you know what? Yesterday, I was doing the same thing. I did manage to get the themes by using a tool called Reflector and an addin - "Baml Viewer".

Baml Viewer disassembles the BAML stored in the dll to the corresponding XAML.

Reflector: http://www.red-gate.com/products/reflector/

If you really are not in mood to figure out the rest or may be you need the themes right now do let me know.

单调的奢华 2024-07-31 03:52:00

.NETframewordk 中的这些命名空间可能会有所帮助

Microsoft.Office.Core.ThemeColor

Microsoft.Office.Core.ThemeColorScheme

System.Windows.Forms.ProfessionalColors - 提供作为 Windows 显示元素颜色的 Color 结构。

These namespaces in .NET framewordk may help

Microsoft.Office.Core.ThemeColor

Microsoft.Office.Core.ThemeColorScheme

System.Windows.Forms.ProfessionalColors - Provides Color structures that are colors of a Windows display element.

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