16 references to PaintCells
System.Windows.Forms.Tests (16)
System\Windows\Forms\DataGridViewRowTests.cs (16)
5040
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5064
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5090
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5114
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5138
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5162
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5186
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5211
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5236
row.
PaintCells
(graphics, clipBounds, rowBounds, rowIndex, rowState, isFirstDisplayedRow, isLastVisibleRow, paintParts);
5250
Assert.Throws<ArgumentNullException>("graphics", () => row.
PaintCells
(null, Rectangle.Empty, Rectangle.Empty, -1, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5264
Assert.Throws<ArgumentNullException>("graphics", () => row.
PaintCells
(null, Rectangle.Empty, new Rectangle(1, 2, 100, 100), 1, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5278
Assert.Throws<ArgumentNullException>("graphics", () => row.
PaintCells
(null, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 100, 100), -1, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5292
Assert.Throws<ArgumentNullException>("graphics", () => row.
PaintCells
(null, new Rectangle(1, 2, 1000, 10000), new Rectangle(1, 2, 1000, 1000), 1, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5299
Assert.Throws<InvalidOperationException>(() => row.
PaintCells
(null, Rectangle.Empty, Rectangle.Empty, -1, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5319
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => row.
PaintCells
(graphics, new Rectangle(1, 2, 100, 100), new Rectangle(1, 2, 100, 100), rowIndex, DataGridViewElementStates.None, true, true, DataGridViewPaintParts.All));
5337
Assert.Throws<ArgumentException>(() => row.
PaintCells
(graphics, Rectangle.Empty, Rectangle.Empty, -1, DataGridViewElementStates.None, true, true, paintParts));