7 writes to ViewForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
3380ViewForeColor = value 3386control.ViewForeColor = value; 3404control.ViewForeColor = value; 3412control.ViewForeColor = value; 3427control.ViewForeColor = Color.Red; 3443control.ViewForeColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
358_propertyGrid.ViewForeColor = Color.Green;
13 references to ViewForeColor
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
166Assert.Equal(SystemColors.WindowText, control.ViewForeColor); 3382Assert.Equal(expected, control.ViewForeColor); 3387Assert.Equal(expected, control.ViewForeColor); 3405Assert.Equal(expected, control.ViewForeColor); 3413Assert.Equal(expected, control.ViewForeColor); 3423PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)]; 3428Assert.Equal(Color.Red, control.ViewForeColor); 3432Assert.Equal(SystemColors.WindowText, control.ViewForeColor); 3439PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.ViewForeColor)]; 3444Assert.Equal(Color.Red, control.ViewForeColor); 3448Assert.Equal(SystemColors.WindowText, control.ViewForeColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
356_propertyGrid.ViewForeColor.Should().Be(SystemColors.WindowText); 359_propertyGrid.ViewForeColor.Should().Be(Color.Green);