17 instantiations of DataGridViewRowPostPaintEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
4794
_dgvrpope ??= new
DataGridViewRowPostPaintEventArgs
(this);
System.Windows.Forms.Tests (16)
System\Windows\Forms\DataGridViewRowPostPaintEventArgsTests.cs (16)
27
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, clipBounds, rowBounds, rowIndex, rowState, errorText, inheritedRowStyle, isFirstDisplayedRow, isLastVisibleRow);
44
Assert.Throws<ArgumentNullException>("dataGridView", () => new
DataGridViewRowPostPaintEventArgs
(null, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false));
51
Assert.Throws<ArgumentNullException>("graphics", () => new
DataGridViewRowPostPaintEventArgs
(dataGridView, null, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false));
60
Assert.Throws<ArgumentNullException>("inheritedRowStyle", () => new
DataGridViewRowPostPaintEventArgs
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, null, false, false));
77
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
91
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
104
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
115
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
128
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
139
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
152
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
163
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
176
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
187
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
200
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
213
DataGridViewRowPostPaintEventArgs e =
new
(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
18 references to DataGridViewRowPostPaintEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
322
private
DataGridViewRowPostPaintEventArgs
? _dgvrpope;
4790
internal
DataGridViewRowPostPaintEventArgs
RowPostPaintEventArgs
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
18370
protected internal virtual void OnRowPostPaint(
DataGridViewRowPostPaintEventArgs
e) =>
System\Windows\Forms\Controls\DataGridView\DataGridViewEventHandlers.cs (1)
64
public delegate void DataGridViewRowPostPaintEventHandler(object? sender,
DataGridViewRowPostPaintEventArgs
e);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1470
DataGridViewRowPostPaintEventArgs
dgvrpostpe = dataGridView.RowPostPaintEventArgs;
System.Windows.Forms.Tests (13)
System\Windows\Forms\DataGridViewRowPostPaintEventArgsTests.cs (13)
27
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, clipBounds, rowBounds, rowIndex, rowState, errorText, inheritedRowStyle, isFirstDisplayedRow, isLastVisibleRow);
77
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, -2, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false)
91
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
104
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
115
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
128
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
139
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
152
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
163
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
176
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
187
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
200
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, 0, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);
213
DataGridViewRowPostPaintEventArgs
e = new(dataGridView, graphics, Rectangle.Empty, Rectangle.Empty, rowIndex, DataGridViewElementStates.Displayed, null, new DataGridViewCellStyle(), false, false);