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