7 writes to DisabledItemForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
1447DisabledItemForeColor = value 1453control.DisabledItemForeColor = value; 1471control.DisabledItemForeColor = value; 1479control.DisabledItemForeColor = value; 1494control.DisabledItemForeColor = Color.Red; 1510control.DisabledItemForeColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
145_propertyGrid.DisabledItemForeColor = Color.Blue;
13 references to DisabledItemForeColor
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
87Assert.Equal(SystemColors.GrayText, control.DisabledItemForeColor); 1449Assert.Equal(value, control.DisabledItemForeColor); 1454Assert.Equal(value, control.DisabledItemForeColor); 1472Assert.Equal(value, control.DisabledItemForeColor); 1480Assert.Equal(value, control.DisabledItemForeColor); 1490PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)]; 1495Assert.Equal(Color.Red, control.DisabledItemForeColor); 1499Assert.Equal(SystemColors.GrayText, control.DisabledItemForeColor); 1506PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.DisabledItemForeColor)]; 1511Assert.Equal(Color.Red, control.DisabledItemForeColor); 1515Assert.Equal(SystemColors.GrayText, control.DisabledItemForeColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
143_propertyGrid.DisabledItemForeColor.Should().Be(SystemColors.GrayText); 146_propertyGrid.DisabledItemForeColor.Should().Be(Color.Blue);