问题
I've met some issue with the visual appearance of my C#/XAML Metro-UI application. I want to customize default template. For another type of applications, I can take default styles and controls from MSDN articles. For example:
- Control Styles and Templates for WPF
- Control Styles and Templates for Silverlight
Where can I find something similar for Metro-UI default styles and templates?
I know that is possible to extract template or style in Expression Blend. But I get the issue with my Blend for Visual Studio 11 described in the next thread.
回答1:
I found it!
Folder c:\Program Files\Windows Kits\8.0\Include\winrt\xaml\design\
on my PC(x86) contains generic.xaml
that has description of each default styles and controls.
回答2:
ThemeResources.xaml contains the resource dictionaries for the Dark (Default), Light and HighContrast themes while Generic.xaml contains the default styles and templates for most of the xaml controls.
来源:https://stackoverflow.com/questions/10861160/control-styles-and-templates-for-windows-8-metro-ui