6 writes to WindowFrame
System.Windows.Forms (6)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (3)
93
colors.
WindowFrame
= _foreColor;
102
colors.
WindowFrame
= colors.WindowDisabled;
121
colors.
WindowFrame
= hdc.FindNearestColor(colors.WindowFrame);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (3)
35
colors.
WindowFrame
= Control.FlatAppearance.BorderColor;
128
colors.
WindowFrame
= Control.FlatAppearance.BorderColor;
221
colors.
WindowFrame
= Control.FlatAppearance.BorderColor;
27 references to WindowFrame
System.Windows.Forms (27)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (2)
108
colors.WindowText = colors.
WindowFrame
;
121
colors.WindowFrame = hdc.FindNearestColor(colors.
WindowFrame
);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (14)
84
DrawDefaultBorder(e, r, colors.
WindowFrame
, Control.IsDefault);
92
DrawFlatBorderWithSize(e, r, colors.
WindowFrame
, Control.FlatAppearance.BorderSize);
96
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
101
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
110
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
172
DrawDefaultBorder(e, r, colors.
WindowFrame
, Control.IsDefault);
180
DrawFlatBorderWithSize(e, r, colors.
WindowFrame
, Control.FlatAppearance.BorderSize);
184
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
189
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
198
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
261
DrawDefaultBorder(e, r, colors.
WindowFrame
, Control.IsDefault);
269
DrawFlatBorderWithSize(e, r, colors.
WindowFrame
, Control.FlatAppearance.BorderSize);
273
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
278
ControlPaint.DrawBorderSimple(e, r, colors.
WindowFrame
);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (2)
89
using var windowFrame = colors.
WindowFrame
.GetCachedPenScope();
135
DrawDefaultBorder(e, r, colors.Options.HighContrast ? colors.WindowText : colors.
WindowFrame
, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
193
DrawDefaultBorder(e, r, colors.
WindowFrame
, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxFlatAdapter.cs (3)
23
PaintFlatWorker(e, colors.WindowText, colors.Highlight, colors.
WindowFrame
, colors);
42
PaintFlatWorker(e, colors.WindowText, colors.LowHighlight, colors.
WindowFrame
, colors);
61
PaintFlatWorker(e, colors.WindowText, colors.Highlight, colors.
WindowFrame
, colors);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (1)
41
(colors.Options.HighContrast && !Control.Enabled) ? colors.
WindowFrame
: colors.ButtonShadow);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (3)
24
PaintFlatWorker(e, colors.WindowText, colors.Highlight, colors.
WindowFrame
, colors);
44
PaintFlatWorker(e, colors.WindowText, colors.LowHighlight, colors.
WindowFrame
, colors);
64
PaintFlatWorker(e, colors.WindowText, colors.Highlight, colors.
WindowFrame
, colors);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
810
colors.Options.HighContrast ? colors.WindowText : colors.
WindowFrame
,