34 references to DataGridView
System.Windows.Forms (34)
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (34)
280
Debug.Assert(this.
DataGridView
!= null);
281
if (this.
DataGridView
.NoDimensionChangeAllowed)
285
if (this.
DataGridView
.InDisplayIndexAdjustments)
291
this.
DataGridView
.OnAddingColumn(dataGridViewColumn); // will throw an exception if the addition is illegal
298
this.
DataGridView
.OnAddedColumn(dataGridViewColumn);
314
Debug.Assert(this.
DataGridView
!= null);
315
if (this.
DataGridView
.NoDimensionChangeAllowed)
319
if (this.
DataGridView
.InDisplayIndexAdjustments)
379
this.
DataGridView
.OnAddingColumns(dataGridViewColumns); // will throw an exception if the addition is illegal
388
this.
DataGridView
.OnAddedColumn(dataGridViewColumn);
402
if (this.
DataGridView
.NoDimensionChangeAllowed)
406
if (this.
DataGridView
.InDisplayIndexAdjustments)
427
this.
DataGridView
.OnClearingColumns();
434
this.
DataGridView
.OnColumnRemoved(dataGridViewColumn);
435
this.
DataGridView
.OnColumnHidden(dataGridViewColumn);
965
Debug.Assert(this.
DataGridView
!= null);
966
if (this.
DataGridView
.NoDimensionChangeAllowed)
970
if (this.
DataGridView
.InDisplayIndexAdjustments)
987
this.
DataGridView
.OnInsertingColumn(columnIndex, dataGridViewColumn, out newCurrentCell); // will throw an exception if the insertion is illegal
998
this.
DataGridView
.OnInsertedColumn_PreNotification(dataGridViewColumn);
1079
Debug.Assert(this.
DataGridView
!= null);
1080
this.
DataGridView
.OnColumnCollectionChanged_PreNotification(ccea);
1085
Debug.Assert(this.
DataGridView
!= null);
1089
this.
DataGridView
.OnInsertedColumn_PostNotification(newCurrentCell);
1093
this.
DataGridView
.OnRemovedColumn_PostNotification(dataGridViewColumn, newCurrentCell);
1096
this.
DataGridView
.OnColumnCollectionChanged_PostNotification(dataGridViewColumn);
1110
if (dataGridViewColumn.DataGridView != this.
DataGridView
)
1162
if (this.
DataGridView
.NoDimensionChangeAllowed)
1167
if (this.
DataGridView
.InDisplayIndexAdjustments)
1184
Debug.Assert(this.
DataGridView
!= null);
1185
Debug.Assert(!this.
DataGridView
.NoDimensionChangeAllowed);
1186
Debug.Assert(!this.
DataGridView
.InDisplayIndexAdjustments);
1190
this.
DataGridView
.OnRemovingColumn(dataGridViewColumn, out newCurrentCell, force);
1195
this.
DataGridView
.OnRemovedColumn_PreNotification(dataGridViewColumn);