19 instantiations of DataGridViewRowPrePaintEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
4812
_dgvrprpe ??= new
DataGridViewRowPrePaintEventArgs
(this);
System.Windows.Forms.Tests (18)
System\Windows\Forms\DataGridViewRowPrePaintEventArgsTests.cs (18)
26
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, clipBounds, rowBounds, rowIndex, rowState, errorText, inheritedRowStyle, isFirstDisplayedRow, isLastVisibleRow);
45
Assert.Throws<ArgumentNullException>("dataGridView", () => new
DataGridViewRowPrePaintEventArgs
(null, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false));
52
Assert.Throws<ArgumentNullException>("graphics", () => new
DataGridViewRowPrePaintEventArgs
(dataGridView, null, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false));
61
Assert.Throws<ArgumentNullException>("inheritedRowStyle", () => new
DataGridViewRowPrePaintEventArgs
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, null, false, false));
78
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
93
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
107
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
118
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
131
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
142
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
155
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
166
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
179
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
190
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
203
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
214
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
227
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
240
DataGridViewRowPrePaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
20 references to DataGridViewRowPrePaintEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
323
private
DataGridViewRowPrePaintEventArgs
? _dgvrprpe;
4808
internal
DataGridViewRowPrePaintEventArgs
RowPrePaintEventArgs
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
18373
protected internal virtual void OnRowPrePaint(
DataGridViewRowPrePaintEventArgs
e) =>
System\Windows\Forms\Controls\DataGridView\DataGridViewEventHandlers.cs (1)
66
public delegate void DataGridViewRowPrePaintEventHandler(object? sender,
DataGridViewRowPrePaintEventArgs
e);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1429
DataGridViewRowPrePaintEventArgs
dgvrprepe = dataGridView.RowPrePaintEventArgs;
System.Windows.Forms.Tests (15)
System\Windows\Forms\DataGridViewRowPrePaintEventArgsTests.cs (15)
26
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, clipBounds, rowBounds, rowIndex, rowState, errorText, inheritedRowStyle, isFirstDisplayedRow, isLastVisibleRow);
78
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
93
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
107
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
118
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
131
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
142
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
155
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
166
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
179
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
190
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
203
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
214
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
227
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
240
DataGridViewRowPrePaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);