7 writes to ViewBorderColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
3295ViewBorderColor = value 3301control.ViewBorderColor = value; 3319control.ViewBorderColor = value; 3327control.ViewBorderColor = value; 3342control.ViewBorderColor = Color.Red; 3358control.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)
3372using var borderPen = OwnerGrid.ViewBorderColor.GetCachedPenScope();
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
165Assert.Equal(SystemColors.ControlDark, control.ViewBorderColor); 3297Assert.Equal(value, control.ViewBorderColor); 3302Assert.Equal(value, control.ViewBorderColor); 3320Assert.Equal(value, control.ViewBorderColor); 3328Assert.Equal(value, control.ViewBorderColor); 3338PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)]; 3343Assert.Equal(Color.Red, control.ViewBorderColor); 3347Assert.Equal(SystemColors.ControlDark, control.ViewBorderColor); 3354PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.ViewBorderColor)]; 3359Assert.Equal(Color.Red, control.ViewBorderColor); 3363Assert.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);