13 writes to NewColor
System.Windows.Forms (13)
winforms\Managed\System\WinForms\ControlPaint.cs (3)
1378cm1.NewColor = foreColor; 1381cm2.NewColor = backColor; 1520cm.NewColor = newColor;
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
83colorMap[0].NewColor = this.ForeColor; 250colorMap[0].NewColor = this.ForeColor;
winforms\Managed\System\WinForms\DataGridParentRows.cs (1)
782this.colorMap[0].NewColor = this.ForeColor;
winforms\Managed\System\WinForms\DataGridRow.cs (2)
82colorMap[0].NewColor = dgTable.HeaderForeColor; 568colorMap[0].NewColor = this.dgTable.IsDefault ? this.DataGrid.HeaderForeColor : this.dgTable.HeaderForeColor;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1138colorMap[0].NewColor = foreColor;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (4)
116checkColorMap[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)
626Marshal.StructureToPtr(map[index].NewColor.ToArgb(), (IntPtr)((long)memory+index*size*2+size), false);