如何/在哪里能找到的WPF控件微软默认样式 [英] How/Where to Find Microsoft Default Styles for WPF Controls

查看:186
本文介绍了如何/在哪里能找到的WPF控件微软默认样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待改变控件的风格,但我基本上是想复制的默认样式的一部分。有谁知道我怎么能找出一个控件的默认风格是什么?

I am looking to change the style of a control but I basically want to copy part of a default style. Does anyone know how I can figure out what the default style of a control is?

在我的情况下,我想使DataGrid中列标题下去鼠标蓝色在像行标题做的。

In my case I am wanting to make the column headers in a DataGrid go blue on mouse over like the row headers do.

推荐答案

您可以找到一些模板,非常接近上的这个MSDN网站

You can find some templates that are very close to the defaults on this MSDN site

另一种选择是让 Expression Blend中的副本,并用它来制作的副本默认的样式,但混合是不是免费的。

Another alternative is to get a copy of Expression Blend and use it to make a copy of the default style, however Blend isn't free

这篇关于如何/在哪里能找到的WPF控件微软默认样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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