1 write to s_marginX
System.Windows.Forms.Design (1)
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
61s_marginX = ScaleHelper.ScaleToInitialSystemDpi(MarginWidth);
8 references to s_marginX
System.Windows.Forms.Design (8)
System\Drawing\Design\ColorEditor.ColorPalette.cs (8)
73CellsAcross * (s_cellSizeX + s_marginX) + s_marginX + 2, 123rect.X = s_marginX + across * (s_cellSizeX + s_marginX); 159int across = x / (s_cellSizeX + s_marginX); 169if ((x - (s_cellSizeX + s_marginX) * across) < s_marginX 367X = s_marginX,