13 writes to NewColor
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1378
cm1.
NewColor
= foreColor;
1381
cm2.
NewColor
= backColor;
1520
cm.
NewColor
= newColor;
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
83
colorMap[0].
NewColor
= this.ForeColor;
250
colorMap[0].
NewColor
= this.ForeColor;
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
782
this.colorMap[0].
NewColor
= this.ForeColor;
winforms\Managed\System\WinForms\DataGridRow.cs (2)
82
colorMap[0].
NewColor
= dgTable.HeaderForeColor;
568
colorMap[0].
NewColor
= this.dgTable.IsDefault ? this.DataGrid.HeaderForeColor : this.dgTable.HeaderForeColor;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1138
colorMap[0].
NewColor
= foreColor;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (4)
116
checkColorMap[0].
NewColor
= ((e.Item.Selected || e.Item.Pressed) && e.Item.Enabled) ?
369
cm1.
NewColor
= Color.White;
371
cm2.
NewColor
= Color.Black;
373
cm3.
NewColor
= Color.White;
1 reference to NewColor
System.Drawing (1)
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
626
Marshal.StructureToPtr(map[index].
NewColor
.ToArgb(), (IntPtr)((long)memory+index*size*2+size), false);