23 references to Solid
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
158
ControlPaint.DrawBorder(g, bounds, ControlPaint.Dark(Control.BackColor), ButtonBorderStyle.
Solid
);
478
ControlPaint.DrawBorder(g, r, c, ButtonBorderStyle.
Solid
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
143
ControlPaint.DrawBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, ButtonBorderStyle.
Solid
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
216
ControlPaint.DrawBorder(g, r, colors.buttonShadow, ButtonBorderStyle.
Solid
);
winforms\Managed\System\WinForms\ControlPaint.cs (9)
385
case ButtonBorderStyle.
Solid
: return DashStyle.Solid;
434
ControlPaint.DrawBorder(graphics, bounds, Color.FromKnownColor(KnownColor.WindowFrame), ButtonBorderStyle.
Solid
);
542
case ButtonBorderStyle.
Solid
:
693
case ButtonBorderStyle.
Solid
:
748
case ButtonBorderStyle.
Solid
:
802
case ButtonBorderStyle.
Solid
:
857
case ButtonBorderStyle.
Solid
:
1088
bool stockBorder = (style == ButtonBorderStyle.
Solid
&& color.IsSystemColor);
1095
if (style != ButtonBorderStyle.
Solid
) {
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
885
ButtonBorderStyle.
Solid
);
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
159
ControlPaint.DrawBorder(graphics, bounds, SystemColors.WindowFrame, ButtonBorderStyle.
Solid
);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (7)
167
ControlPaint.DrawBorder(g, r, ControlPaint.Dark(Control.BackColor), ButtonBorderStyle.
Solid
);
174
c, 1, ButtonBorderStyle.
Solid
,
175
c, 1, ButtonBorderStyle.
Solid
,
185
c, 1, ButtonBorderStyle.
Solid
,
186
c, 1, ButtonBorderStyle.
Solid
,
191
ControlPaint.DrawBorder(g, r, ControlPaint.Dark(Control.BackColor), ButtonBorderStyle.
Solid
);
208
c, 1, ButtonBorderStyle.
Solid
,
winforms\Managed\System\WinForms\UpDownBase.cs (1)
856
ControlPaint.DrawBorder(e.Graphics, editBounds, SystemColors.Control, ButtonBorderStyle.
Solid
);