17 references to AddScope
System.Windows.Forms (17)
winforms\Managed\System\WinForms\DataGridView.cs (11)
971
this.alternatingRowsDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.AlternatingRows);
982
this.alternatingRowsDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.AlternatingRows);
1933
this.columnHeadersDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.ColumnHeaders);
1955
defaultStyle.
AddScope
(this, DataGridViewCellStyleScopes.ColumnHeaders);
2544
defaultCellStyleTmp.
AddScope
(this, DataGridViewCellStyleScopes.DataGridView);
2559
this.defaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.DataGridView);
2582
defaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.DataGridView);
2644
defaultStyle.
AddScope
(this, DataGridViewCellStyleScopes.RowHeaders);
4221
this.rowHeadersDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.RowHeaders);
4461
this.rowsDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.Rows);
4472
this.rowsDefaultCellStyle.
AddScope
(this, DataGridViewCellStyleScopes.Rows);
winforms\Managed\System\WinForms\DataGridViewBand.cs (3)
131
dgvcs.
AddScope
(this.DataGridView,
149
value.
AddScope
(this.DataGridView,
1027
this.DefaultCellStyle.
AddScope
(this.DataGridView,
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
806
dgvcs.
AddScope
(this.DataGridView, DataGridViewCellStyleScopes.Cell);
823
value.
AddScope
(this.DataGridView, DataGridViewCellStyleScopes.Cell);
3483
this.Style.
AddScope
(this.DataGridView, DataGridViewCellStyleScopes.Cell);