在哪里可以找到WPF DataGrid的XAML模板? [英] Where can I find the XAML templates for a WPF DataGrid?

查看:212
本文介绍了在哪里可以找到WPF DataGrid的XAML模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想修改Microsoft WPF DataGrid(4.0版本)的模板,但我不知道现有的模板是什么样子的。没有人知道它是什么,或者在那里我可以找到它?

I would like to modify the template for the Microsoft WPF DataGrid (4.0 version) but I am not sure what the existing template looks like. Does anyone know what it is or where I could find it?

推荐答案

我会建议进入混合(如果有的话)并提取模板。否则,你可以得到XAML使用的XamlWriter。

I would recommend going into Blend (if you have it) and extracting the Template. Otherwise, you can get the XAML using XAMLWriter.

这的不幸命名页面(我不认为这是真正的‘孩子的东西’,你呢?)有两个做这些事情的一个例子。

This unfortunately named page (I don't think this is really "Kid's Stuff", do you?) has an example of doing both of these things.

这篇关于在哪里可以找到WPF DataGrid的XAML模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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