64 references to DataGridViewCellStyleScopes
System.Windows.Forms (64)
winforms\Managed\System\WinForms\DataGridView.cs (17)
971this.alternatingRowsDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.AlternatingRows); 978cs.RemoveScope(DataGridViewCellStyleScopes.AlternatingRows); 982this.alternatingRowsDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.AlternatingRows); 1929cs.RemoveScope(DataGridViewCellStyleScopes.ColumnHeaders); 1933this.columnHeadersDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.ColumnHeaders); 1955defaultStyle.AddScope(this, DataGridViewCellStyleScopes.ColumnHeaders); 2513defaultCellStyleTmp.Scope = DataGridViewCellStyleScopes.None; 2544defaultCellStyleTmp.AddScope(this, DataGridViewCellStyleScopes.DataGridView); 2555cs.RemoveScope(DataGridViewCellStyleScopes.DataGridView); 2559this.defaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.DataGridView); 2582defaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.DataGridView); 2644defaultStyle.AddScope(this, DataGridViewCellStyleScopes.RowHeaders); 4217cs.RemoveScope(DataGridViewCellStyleScopes.RowHeaders); 4221this.rowHeadersDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.RowHeaders); 4461this.rowsDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.Rows); 4468cs.RemoveScope(DataGridViewCellStyleScopes.Rows); 4472this.rowsDefaultCellStyle.AddScope(this, DataGridViewCellStyleScopes.Rows);
winforms\Managed\System\WinForms\DataGridViewBand.cs (10)
132this.bandIsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column); 143dgvcs.RemoveScope(this.bandIsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column); 150this.bandIsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column); 1023this.DefaultCellStyle.RemoveScope(this.bandIsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column); 1028this.bandIsRow ? DataGridViewCellStyleScopes.Row : DataGridViewCellStyleScopes.Column);
winforms\Managed\System\WinForms\DataGridViewCell.cs (5)
806dgvcs.AddScope(this.DataGridView, DataGridViewCellStyleScopes.Cell); 817dgvcs.RemoveScope(DataGridViewCellStyleScopes.Cell); 823value.AddScope(this.DataGridView, DataGridViewCellStyleScopes.Cell); 3479this.Style.RemoveScope(DataGridViewCellStyleScopes.Cell); 3483this.Style.AddScope(this.DataGridView, DataGridViewCellStyleScopes.Cell);
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (8)
41private DataGridViewCellStyleScopes scope; 54this.scope = DataGridViewCellStyleScopes.None; 65this.scope = DataGridViewCellStyleScopes.None; 472internal DataGridViewCellStyleScopes Scope 593internal void AddScope(DataGridView dataGridView, DataGridViewCellStyleScopes scope) 733if (this.dataGridView != null && this.scope != DataGridViewCellStyleScopes.None) 770internal void RemoveScope(DataGridViewCellStyleScopes scope) 773if (this.scope == DataGridViewCellStyleScopes.None)
winforms\Managed\System\WinForms\DataGridViewCellStyleContentChangedEventArgs.cs (1)
31public DataGridViewCellStyleScopes CellStyleScope
winforms\Managed\System\WinForms\DataGridViewMethods.cs (23)
13237if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientFont]) 13241if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont]) 13245if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientRowHeadersFont]) 13252if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.dataGridViewState1[DATAGRIDVIEWSTATE1_ambientForeColor]) 13271if ((e.CellStyleScope & DataGridViewCellStyleScopes.Cell) == DataGridViewCellStyleScopes.Cell && (e.CellStyleScope & DataGridViewCellStyleScopes.DataGridView) == 0) 13285if ((e.CellStyleScope & DataGridViewCellStyleScopes.Column) == DataGridViewCellStyleScopes.Column) 13298if ((e.CellStyleScope & DataGridViewCellStyleScopes.Row) == DataGridViewCellStyleScopes.Row && (e.CellStyleScope & DataGridViewCellStyleScopes.Rows) == 0 && (e.CellStyleScope & DataGridViewCellStyleScopes.AlternatingRows) == 0) 13323if ((e.CellStyleScope & DataGridViewCellStyleScopes.DataGridView) == DataGridViewCellStyleScopes.DataGridView) 13334if ((e.CellStyleScope & DataGridViewCellStyleScopes.ColumnHeaders) == DataGridViewCellStyleScopes.ColumnHeaders) 13345if ((e.CellStyleScope & DataGridViewCellStyleScopes.RowHeaders) == DataGridViewCellStyleScopes.RowHeaders) 13356if ((e.CellStyleScope & DataGridViewCellStyleScopes.Rows) == DataGridViewCellStyleScopes.Rows) 13367if ((e.CellStyleScope & DataGridViewCellStyleScopes.AlternatingRows) == DataGridViewCellStyleScopes.AlternatingRows)