如何获取WP7控件的​​默认样式和控件模板? [英] how to get the default style and control template of WP7 control?

查看:87
本文介绍了如何获取WP7控件的​​默认样式和控件模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它们具有MSDN上发布的WPF和Silverlight控件的样式和模板. 但不适用于WP7控件.

they have the styles and templates for WPF and Silverlight controls published on MSDN. but not for the WP7 controls.

那么,如何获取WP7控件的​​默认样式和控件模板?

So, how to get the default style and control template of WP7 control ?

推荐答案

在您的SDK文件夹中

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Design

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Design

您会找到System.Windows.xamlThemeResources.xaml以及各个主题的文件夹.

You will find System.Windows.xaml and ThemeResources.xaml as well as folders for eah of the themes.

这篇关于如何获取WP7控件的​​默认样式和控件模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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