6 writes to windowFrame
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
792
colors.
windowFrame
= foreColor;
816
colors.
windowFrame
= colors.windowDisabled;
837
colors.
windowFrame
= wg.GetNearestColor(colors.windowFrame);
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (3)
43
colors.
windowFrame
= Control.FlatAppearance.BorderColor;
124
colors.
windowFrame
= Control.FlatAppearance.BorderColor;
203
colors.
windowFrame
= Control.FlatAppearance.BorderColor;
27 references to windowFrame
System.Windows.Forms (27)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
821
colors.windowText = colors.
windowFrame
;
837
colors.windowFrame = wg.GetNearestColor(colors.
windowFrame
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (14)
89
DrawDefaultBorder(g, r, colors.
windowFrame
, this.Control.IsDefault);
95
DrawFlatBorderWithSize(g, r, colors.
windowFrame
, Control.FlatAppearance.BorderSize);
98
DrawFlatBorder(g, r, colors.
windowFrame
);
102
DrawFlatBorder(g, r, colors.
windowFrame
);
109
DrawFlatBorder(g, r, colors.
windowFrame
);
163
DrawDefaultBorder(g, r, colors.
windowFrame
, this.Control.IsDefault);
169
DrawFlatBorderWithSize(g, r, colors.
windowFrame
, Control.FlatAppearance.BorderSize);
172
DrawFlatBorder(g, r, colors.
windowFrame
);
176
DrawFlatBorder(g, r, colors.
windowFrame
);
183
DrawFlatBorder(g, r, colors.
windowFrame
);
247
DrawDefaultBorder(g, r, colors.
windowFrame
, this.Control.IsDefault);
253
DrawFlatBorderWithSize(g, r, colors.
windowFrame
, Control.FlatAppearance.BorderSize);
256
DrawFlatBorder(g, r, colors.
windowFrame
);
260
DrawFlatBorder(g, r, colors.
windowFrame
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (2)
96
using (Pen windowFrame = new Pen(colors.
windowFrame
),
142
DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.
windowFrame
, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
208
DrawDefaultBorder(g, r, colors.
windowFrame
, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (3)
28
PaintFlatWorker(e, colors.windowText, colors.highlight, colors.
windowFrame
, colors);
43
PaintFlatWorker(e, colors.windowText, colors.lowHighlight, colors.
windowFrame
, colors);
58
PaintFlatWorker(e, colors.windowText, colors.highlight, colors.
windowFrame
, colors);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
40
(colors.options.highContrast && !Control.Enabled && AccessibilityImprovements.Level1) ? colors.
windowFrame
: colors.buttonShadow);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (3)
31
PaintFlatWorker(e, colors.windowText, colors.highlight, colors.
windowFrame
, colors);
47
PaintFlatWorker(e, colors.windowText, colors.lowHighlight, colors.
windowFrame
, colors);
63
PaintFlatWorker(e, colors.windowText, colors.highlight, colors.
windowFrame
, colors);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
880
colors.options.highContrast ? colors.windowText : colors.
windowFrame
,