20 references to BorderColor
System.Windows.Forms (20)
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\Controls\Buttons\ButtonInternal\CheckBoxModernAdapter.cs (2)
98
Color? customBorderColor = Control.FlatAppearance.
BorderColor
.IsEmpty
100
: Control.FlatAppearance.
BorderColor
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeRendererBase.cs (2)
67
=> FlatAppearance is {
BorderColor
.IsEmpty: false } appearance
68
? appearance.
BorderColor
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (3)
133
if (FlatAppearance is {
BorderColor
.IsEmpty: false } appearance)
135
topLeftColor = appearance.
BorderColor
;
136
bottomRightColor = appearance.
BorderColor
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonModernAdapter.cs (2)
97
Color? customBorderColor = Control.FlatAppearance.
BorderColor
.IsEmpty
99
: Control.FlatAppearance.
BorderColor
;
System\Windows\Forms\Rendering\Button\AnimatedPopupButtonRenderer.cs (2)
147
borderColor = flatAppearance.
BorderColor
.IsEmpty
149
: flatAppearance.
BorderColor
;