10 writes to CommandsBorderColor
System.Windows.Forms.Tests (6)
System\Windows\Forms\PropertyGridTests.cs (6)
1037CommandsBorderColor = value 1043control.CommandsBorderColor = value; 1061control.CommandsBorderColor = value; 1069control.CommandsBorderColor = value; 1084control.CommandsBorderColor = Color.Red; 1100control.CommandsBorderColor = Color.Red;
System.Windows.Forms.UI.IntegrationTests (1)
PropertyGridTests.cs (1)
109_propertyGrid.CommandsBorderColor = Color.Red;
WinFormsControlsTest (3)
Dialogs.Designer.cs (1)
52this.propertyGrid1.CommandsBorderColor = System.Drawing.SystemColors.Control;
MessageBoxes.Designer.cs (1)
40this.propertyGrid1.CommandsBorderColor = System.Drawing.SystemColors.Control;
PropertyGrid.Designer.cs (1)
39this.propertyGrid1.CommandsBorderColor = System.Drawing.SystemColors.Control;
13 references to CommandsBorderColor
System.Windows.Forms.Tests (11)
System\Windows\Forms\PropertyGridTests.cs (11)
65Assert.Equal(SystemColors.ControlDark, control.CommandsBorderColor); 1039Assert.Equal(value, control.CommandsBorderColor); 1044Assert.Equal(value, control.CommandsBorderColor); 1062Assert.Equal(value, control.CommandsBorderColor); 1070Assert.Equal(value, control.CommandsBorderColor); 1080PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)]; 1085Assert.Equal(Color.Red, control.CommandsBorderColor); 1089Assert.Equal(SystemColors.ControlDark, control.CommandsBorderColor); 1096PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(PropertyGrid))[nameof(PropertyGrid.CommandsBorderColor)]; 1101Assert.Equal(Color.Red, control.CommandsBorderColor); 1105Assert.Equal(SystemColors.ControlDark, control.CommandsBorderColor);
System.Windows.Forms.UI.IntegrationTests (2)
PropertyGridTests.cs (2)
107_propertyGrid.CommandsBorderColor.Should().Be(SystemColors.ControlDark); 110_propertyGrid.CommandsBorderColor.Should().Be(Color.Red);