8 writes to CommandsForeColor
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
1198CommandsForeColor = value 1204control.CommandsForeColor = value; 1222control.CommandsForeColor = value; 1230control.CommandsForeColor = value; 1245control.CommandsForeColor = Color.Red; 1261control.CommandsForeColor = Color.Red; 1547CommandsForeColor = Color.FromArgb(255, 0, 0, 2),
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
219_propertyGrid.CommandsForeColor = Color.Red;
15 references to CommandsForeColor
System.Windows.Forms.Tests (13)
System\Windows\Forms\PropertyGridTests.cs (13)
65Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1200Assert.Equal(expected, control.CommandsForeColor); 1205Assert.Equal(expected, control.CommandsForeColor); 1223Assert.Equal(expected, control.CommandsForeColor); 1231Assert.Equal(expected, control.CommandsForeColor); 1241PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)]; 1246Assert.Equal(Color.Red, control.CommandsForeColor); 1250Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1257PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)]; 1262Assert.Equal(Color.Red, control.CommandsForeColor); 1266Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1557Assert.Equal(Color.FromArgb(255, 0, 0, 2), control.CommandsForeColor); 1567Assert.Equal(Color.FromArgb(255, 0, 0, 2), control.CommandsForeColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
217_propertyGrid.CommandsForeColor.Should().Be(SystemColors.ControlText); 220_propertyGrid.CommandsForeColor.Should().Be(Color.Red);