8 writes to CommandsLinkColor
System.Windows.Forms.Tests (7)
System\Windows\Forms\PropertyGridTests.cs (7)
1283
CommandsLinkColor
= value
1289
control.
CommandsLinkColor
= value;
1307
control.
CommandsLinkColor
= value;
1315
control.
CommandsLinkColor
= value;
1330
control.
CommandsLinkColor
= Color.Red;
1346
control.
CommandsLinkColor
= Color.Red;
1548
CommandsLinkColor
= Color.FromArgb(255, 0, 0, 3),
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
379
_propertyGrid.
CommandsLinkColor
= Color.Silver;
18 references to CommandsLinkColor
System.Windows.Forms.Tests (13)
System\Windows\Forms\PropertyGridTests.cs (13)
66
Assert.Equal(Color.FromArgb(255, 0, 0, 255), control.
CommandsLinkColor
);
1285
Assert.Equal(expected, control.
CommandsLinkColor
);
1290
Assert.Equal(expected, control.
CommandsLinkColor
);
1308
Assert.Equal(expected, control.
CommandsLinkColor
);
1316
Assert.Equal(expected, control.
CommandsLinkColor
);
1326
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsLinkColor
)];
1331
Assert.Equal(Color.Red, control.
CommandsLinkColor
);
1335
Assert.Equal(Color.FromArgb(255, 0, 0, 255), control.
CommandsLinkColor
);
1342
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
CommandsLinkColor
)];
1347
Assert.Equal(Color.Red, control.
CommandsLinkColor
);
1351
Assert.Equal(Color.FromArgb(255, 0, 0, 255), control.
CommandsLinkColor
);
1558
Assert.Equal(Color.FromArgb(255, 0, 0, 255), control.
CommandsLinkColor
);
1568
Assert.Equal(Color.FromArgb(255, 0, 0, 255), control.
CommandsLinkColor
);
System.Windows.Forms.UI.IntegrationTests (5)
PropertyGridTests.cs (5)
374
_propertyGrid.
CommandsLinkColor
.A.Should().Be(255);
375
_propertyGrid.
CommandsLinkColor
.R.Should().Be(0);
376
_propertyGrid.
CommandsLinkColor
.G.Should().Be(0);
377
_propertyGrid.
CommandsLinkColor
.B.Should().Be(255);
380
_propertyGrid.
CommandsLinkColor
.Should().Be(Color.Silver);