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