在哪里可以找到 WPF 经典主题作为 XAML? [英] Where to find WPF Classic Theme as XAML?

查看:29
本文介绍了在哪里可以找到 WPF 经典主题作为 XAML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 WPF 中创建一些自定义控件,因此需要为它们创建默认控件模板.为了在此过程中提供帮助,我想查看内置控件的控件模板的 XAML 作为参考.

I am creating some custom controls in WPF and need to therefore create the default control templates for them. To help in this process I would like to see the XAML of the control templates for the builtin controls as a reference.

我可以在 .NET Reflector 中打开 PresentationFramework.Class dll,但在其中找不到任何可用的东西.它似乎只有 BAML 而没有原始的 XAML.

I can open up the PresentationFramework.Class dll into .NET Reflector but cannot find anything inside it of use. It seems to have only BAML but not the original XAML.

可以在网上找到吗?或者有什么工具可以提取出来?

Is this available online somewhere? Or is there a tool that can extract it?

推荐答案

如果您安装了几个 Expression Blend 主题,包括 classic.xaml,可以在

If you have Expression Blend installed several themes, including classic.xaml, can be found in

C:\Program Files\Microsoft Expression\Blend 3\SystemThemes\Wpf

C:\Program Files\Microsoft Expression\Blend 3\SystemThemes\Wpf

这篇关于在哪里可以找到 WPF 经典主题作为 XAML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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