隐藏第1列:方括号内是列序号,从0开始。 dataGrid1.Columns[0].Visibility = Visibility.Collapsed; 转载于:https://www.cnblogs.com/dinid/archive/2011/04/26/2029800.html