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