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