8 writes to CommandsDisabledLinkColor
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
1120
CommandsDisabledLinkColor
= value
1126
control.
CommandsDisabledLinkColor
= value;
1144
control.
CommandsDisabledLinkColor
= value;
1152
control.
CommandsDisabledLinkColor
= value;
1167
control.
CommandsDisabledLinkColor
= Color.Red;
1183
control.
CommandsDisabledLinkColor
= Color.Red;
1550
CommandsDisabledLinkColor
= Color.FromArgb(255, 0, 0, 5)
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
400
_propertyGrid.
CommandsDisabledLinkColor
= Color.Orange;
18 references to CommandsDisabledLinkColor
System.Windows.Forms.Tests (13)
System\Windows\Forms\PropertyGridTests.cs (13)
64
Assert.Equal(Color.FromArgb(255, 133, 133, 133), control.
CommandsDisabledLinkColor
);
1122
Assert.Equal(expected, control.
CommandsDisabledLinkColor
);
1127
Assert.Equal(expected, control.
CommandsDisabledLinkColor
);
1145
Assert.Equal(expected, control.
CommandsDisabledLinkColor
);
1153
Assert.Equal(expected, control.
CommandsDisabledLinkColor
);
1163
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsDisabledLinkColor
)];
1168
Assert.Equal(Color.Red, control.
CommandsDisabledLinkColor
);
1172
Assert.Equal(Color.FromArgb(255, 133, 133, 133), control.
CommandsDisabledLinkColor
);
1179
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsDisabledLinkColor
)];
1184
Assert.Equal(Color.Red, control.
CommandsDisabledLinkColor
);
1188
Assert.Equal(Color.FromArgb(255, 133, 133, 133), control.
CommandsDisabledLinkColor
);
1560
Assert.Equal(Color.FromArgb(255, 133, 133, 133), control.
CommandsDisabledLinkColor
);
1570
Assert.Equal(Color.FromArgb(255, 133, 133, 133), control.
CommandsDisabledLinkColor
);
System.Windows.Forms.UI.IntegrationTests (5)
PropertyGridTests.cs (5)
395
_propertyGrid.
CommandsDisabledLinkColor
.A.Should().Be(255);
396
_propertyGrid.
CommandsDisabledLinkColor
.R.Should().Be(133);
397
_propertyGrid.
CommandsDisabledLinkColor
.G.Should().Be(133);
398
_propertyGrid.
CommandsDisabledLinkColor
.B.Should().Be(133);
401
_propertyGrid.
CommandsDisabledLinkColor
.Should().Be(Color.Orange);