7 writes to DisabledItemForeColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
1447
DisabledItemForeColor
= value
1453
control.
DisabledItemForeColor
= value;
1471
control.
DisabledItemForeColor
= value;
1479
control.
DisabledItemForeColor
= value;
1494
control.
DisabledItemForeColor
= Color.Red;
1510
control.
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)
87
Assert.Equal(SystemColors.GrayText, control.
DisabledItemForeColor
);
1449
Assert.Equal(value, control.
DisabledItemForeColor
);
1454
Assert.Equal(value, control.
DisabledItemForeColor
);
1472
Assert.Equal(value, control.
DisabledItemForeColor
);
1480
Assert.Equal(value, control.
DisabledItemForeColor
);
1490
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
DisabledItemForeColor
)];
1495
Assert.Equal(Color.Red, control.
DisabledItemForeColor
);
1499
Assert.Equal(SystemColors.GrayText, control.
DisabledItemForeColor
);
1506
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
DisabledItemForeColor
)];
1511
Assert.Equal(Color.Red, control.
DisabledItemForeColor
);
1515
Assert.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);