8 writes to CommandsForeColor
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
1200CommandsForeColor = value 1206control.CommandsForeColor = value; 1224control.CommandsForeColor = value; 1232control.CommandsForeColor = value; 1247control.CommandsForeColor = Color.Red; 1263control.CommandsForeColor = Color.Red; 1549CommandsForeColor = 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)
67Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1202Assert.Equal(expected, control.CommandsForeColor); 1207Assert.Equal(expected, control.CommandsForeColor); 1225Assert.Equal(expected, control.CommandsForeColor); 1233Assert.Equal(expected, control.CommandsForeColor); 1243PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)]; 1248Assert.Equal(Color.Red, control.CommandsForeColor); 1252Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1259PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsForeColor)]; 1264Assert.Equal(Color.Red, control.CommandsForeColor); 1268Assert.Equal(SystemColors.ControlText, control.CommandsForeColor); 1559Assert.Equal(Color.FromArgb(255, 0, 0, 2), control.CommandsForeColor); 1569Assert.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);