Control Styles and Templates for Windows 8 Metro-UI

a 夏天 提交于 2019-12-29 07:11:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!