5 writes to Scope
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
1989Scope = DataGridViewCellStyleScopes.None
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (4)
36Scope = DataGridViewCellStyleScopes.None; 44Scope = DataGridViewCellStyleScopes.None; 370Scope |= scope; 512Scope &= ~scope;
19 references to Scope
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
12862if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1[State1_AmbientFont]) 12867if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && _dataGridViewState1[State1_AmbientColumnHeadersFont]) 12872if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && _dataGridViewState1[State1_AmbientRowHeadersFont]) 12880if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && _dataGridViewState1[State1_AmbientForeColor])
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (2)
504if (_dataGridView is not null && Scope != DataGridViewCellStyleScopes.None) 513if (Scope == DataGridViewCellStyleScopes.None)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleContentChangedEventArgs.cs (1)
16public DataGridViewCellStyleScopes CellStyleScope => CellStyle.Scope;
System.Windows.Forms.Tests (12)
System\Windows\Forms\DataGridViewCellStyleTests.cs (9)
19Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 60Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 85Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 638Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 680Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 728Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 753Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 794Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope); 819Assert.Equal(DataGridViewCellStyleScopes.None, style.Scope);
System\Windows\Forms\DataGridViewCellTests.cs (3)
5739Assert.Equal(DataGridViewCellStyleScopes.Cell, cell.Style.Scope); 5749Assert.Equal(DataGridViewCellStyleScopes.Cell, cell.Style.Scope); 5751Assert.Equal(DataGridViewCellStyleScopes.None, cell.Style.Scope);