合并标题列datagrid wpf [英] Merge header columns datagrid wpf
本文介绍了合并标题列datagrid wpf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
这个问题在这里讨论: http://social.msdn.microsoft.com/Forums/en-US/wpf/线/ 1e414159-70f6-4be3-9be5-56e4f3278366 /
I am trying to merge cell headers in a WPF 4.0 DataGrid. For example I have two fields in the database that are named Image1, and Image2. What I want to do is have one column header span both image columns with the text "Images", instead of what there is now, "First Image" over the Image1 column, and "Second Image" over the Image2 column. Any help will be greatly appreciated. Thank you in advance.
解决方案
This question is discussed here: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/1e414159-70f6-4be3-9be5-56e4f3278366/
这篇关于合并标题列datagrid wpf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文