7 writes to ViewBorderColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
3330
ViewBorderColor
= value
3336
control.
ViewBorderColor
= value;
3354
control.
ViewBorderColor
= value;
3362
control.
ViewBorderColor
= value;
3377
control.
ViewBorderColor
= Color.Red;
3393
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)
3395
using var borderPen = OwnerGrid.
ViewBorderColor
.GetCachedPenScope();
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
165
Assert.Equal(SystemColors.ControlDark, control.
ViewBorderColor
);
3332
Assert.Equal(value, control.
ViewBorderColor
);
3337
Assert.Equal(value, control.
ViewBorderColor
);
3355
Assert.Equal(value, control.
ViewBorderColor
);
3363
Assert.Equal(value, control.
ViewBorderColor
);
3373
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
ViewBorderColor
)];
3378
Assert.Equal(Color.Red, control.
ViewBorderColor
);
3382
Assert.Equal(SystemColors.ControlDark, control.
ViewBorderColor
);
3389
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.
ViewBorderColor
)];
3394
Assert.Equal(Color.Red, control.
ViewBorderColor
);
3398
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);