1: 2: 3: 4:
for(int i = 0; i < this.Columns.Count;i++) { this.Columns[i] = (EnhancedDataGridViewColumn)this.Columns[i]; }