2 writes to BorderColor
System.Windows.Forms.Tests (2)
System\Windows\Forms\AbstractButtonBaseTests.cs (2)
17control.Invoking(y => y.FlatAppearance.BorderColor = Color.Transparent) 41control.FlatAppearance.BorderColor = expectedColor;
11 references to BorderColor
System.Windows.Forms (9)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (9)
23bool hasCustomBorder = Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty; 33if (!Control.FlatAppearance.BorderColor.IsEmpty) 35colors.WindowFrame = Control.FlatAppearance.BorderColor; 116bool hasCustomBorder = (Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty); 126if (!Control.FlatAppearance.BorderColor.IsEmpty) 128colors.WindowFrame = Control.FlatAppearance.BorderColor; 210bool hasCustomBorder = Control.FlatAppearance.BorderSize != BorderSize || !Control.FlatAppearance.BorderColor.IsEmpty; 219if (!Control.FlatAppearance.BorderColor.IsEmpty) 221colors.WindowFrame = Control.FlatAppearance.BorderColor;
System.Windows.Forms.Tests (2)
System\Windows\Forms\AbstractButtonBaseTests.cs (1)
44control.FlatAppearance.BorderColor.Should().Be(expectedColor);
System\Windows\Forms\ButtonBaseTests.cs (1)
1032Assert.Equal(Color.Empty, appearance.BorderColor);