how to get the default style and control template

2020-07-19 08:58发布

问题:

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

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

回答1:

In your SDK folder

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

or

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

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