如何在SilverLight 4中隐藏DataGrid中的行标题 [英] How to hide row header in DataGrid in SilverLight 4
本文介绍了如何在SilverLight 4中隐藏DataGrid中的行标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要有一个完全没有行标题的DataGrid(它芳香地位于左侧,带有> 箭头).如何杀死此默认列并完全隐藏行标题?.
任何答案将不胜感激:赞许:
谢谢,
Imdadhusen.
I need to have DataGrid without row headers at all (It is aromatically comes at left hand side with > arrow) rows.How to kill this default column and completely hide row headers?.
Any answer will be appreciated:thumbsup:
Thanks,
Imdadhusen.
推荐答案
修改样式以删除左侧的行标题.
隐藏TopLeftHeaderTemplate
模板(通过使可见性处于折叠状态),yoo应该会得到所需的结果.
Modify the style to remove the row headers on the left.
Hide theTopLeftHeaderTemplate
template (by sitting the visibility to collapsed) and yoo should get the desired results.
这篇关于如何在SilverLight 4中隐藏DataGrid中的行标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文