11 references to CellsDown
System.Windows.Forms.Design (11)
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.cs (3)
18_cells = new ColorCellAccessibleObject[CellsAcross * CellsDown]; 23public override int GetChildCount() => CellsAcross * CellsDown; 27if (ColorPalette is not { } palette || id < 0 || id >= CellsAcross * CellsDown)
System\Drawing\Design\ColorEditor.ColorPalette.cs (8)
18public const int TotalCells = CellsAcross * CellsDown; 74CellsDown * (s_cellSizeY + s_marginY) + s_marginY + 2); 131for (int y = 0; y < CellsDown; y++) 163if (across < 0 || down < 0 || across >= CellsAcross || down >= CellsDown) 201for (int y = 0; y < CellsDown; y++) 373for (int y = 0; y < CellsDown; y++) 454if (newFocus.Y >= CellsDown) 456newFocus.Y = CellsDown - 1;