for (int i = 0; i < gridView1.Columns.Count; i++) { gridView1.Columns[i].BestFit(); } 跟 属性 columnautowidth 效果不一样 相关文章: