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