5 writes to GridColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
25804
private void ResetGridColor() =>
GridColor
= DefaultGridColor;
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataGridViewTests.cs (3)
2929
dataGrid.
GridColor
= Color.Red;
3267
_dataGridView.
GridColor
= Color.Red;
3271
_dataGridView.
GridColor
= Color.Blue;
System\Windows\Forms\DataGridViewTests.Rendering.cs (1)
21
GridColor
= Color.Blue,
3 references to GridColor
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2641
throw new ArgumentException(string.Format(SR.DataGridView_EmptyColor, nameof(
GridColor
)));
2643
throw new ArgumentException(string.Format(SR.DataGridView_TransparentColor, nameof(
GridColor
)));
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataGridViewTests.cs (1)
2932
Assert.Equal(Color.Red, dataGrid.
GridColor
);