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