7 writes to ViewBorderColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
3295
ViewBorderColor
= value
3301
control.
ViewBorderColor
= value;
3319
control.
ViewBorderColor
= value;
3327
control.
ViewBorderColor
= value;
3342
control.
ViewBorderColor
= Color.Red;
3358
control.
ViewBorderColor
= Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
349
_propertyGrid.
ViewBorderColor
= Color.Blue;
14 references to ViewBorderColor
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3372
using var borderPen = OwnerGrid.
ViewBorderColor
.GetCachedPenScope();
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
165
Assert.Equal(SystemColors.ControlDark, control.
ViewBorderColor
);
3297
Assert.Equal(value, control.
ViewBorderColor
);
3302
Assert.Equal(value, control.
ViewBorderColor
);
3320
Assert.Equal(value, control.
ViewBorderColor
);
3328
Assert.Equal(value, control.
ViewBorderColor
);
3338
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
ViewBorderColor
)];
3343
Assert.Equal(Color.Red, control.
ViewBorderColor
);
3347
Assert.Equal(SystemColors.ControlDark, control.
ViewBorderColor
);
3354
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
ViewBorderColor
)];
3359
Assert.Equal(Color.Red, control.
ViewBorderColor
);
3363
Assert.Equal(SystemColors.ControlDark, control.
ViewBorderColor
);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
347
_propertyGrid.
ViewBorderColor
.Should().Be(SystemColors.ControlDark);
350
_propertyGrid.
ViewBorderColor
.Should().Be(Color.Blue);