此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
更新:2007 年 11 月
本节中的示例演示如何使用 Windows Presentation Foundation (WPF) 样式。
介绍样式设置和模板化的示例
事件触发器示例
内容控件样式示例
查找由模板生成的元素的示例
改变项的外观
Style
ControlTemplate
ControlTemplate 示例
主题