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