隐藏第1列:方括号内是列序号,从0开始。

dataGrid1.Columns[0].Visibility = Visibility.Collapsed;

posted on 2011-04-26 21:50  dinid  阅读(6033)  评论(0编辑  收藏  举报