8 instantiations of DataGridViewCellFormattingEventArgs
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
11795
DataGridViewCellFormattingEventArgs dgvcfe =
new
(
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (5)
22
DataGridViewCellFormattingEventArgs e =
new
(columnIndex, rowIndex, value, desiredType, cellStyle);
34
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewCellFormattingEventArgs
(-2, 0, "value", typeof(string), null));
40
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new
DataGridViewCellFormattingEventArgs
(0, -2, "value", typeof(string), null));
53
DataGridViewCellFormattingEventArgs e =
new
(1, 2, "value", typeof(string), new DataGridViewCellStyle())
65
DataGridViewCellFormattingEventArgs e =
new
(1, 2, "value", typeof(string), new DataGridViewCellStyle())
System\Windows\Forms\DataGridViewTests.cs (2)
3690
DataGridViewCellFormattingEventArgs cellFormattingEventArgs =
new
(0, 0, dataGridView.Rows[0].Cells[0].Value, dataGridView.Rows[0].Cells[0].ValueType, dataGridView.Rows[0].Cells[0].InheritedStyle);
3695
cellFormattingEventArgs =
new
(0, 1, dataGridView.Rows[1].Cells[0].Value, dataGridView.Rows[1].Cells[0].ValueType, dataGridView.Rows[1].Cells[0].InheritedStyle);
10 references to DataGridViewCellFormattingEventArgs
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
11788
internal
DataGridViewCellFormattingEventArgs
OnCellFormatting(
11795
DataGridViewCellFormattingEventArgs
dgvcfe = new(
11806
protected virtual void OnCellFormatting(
DataGridViewCellFormattingEventArgs
e)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1599
DataGridViewCellFormattingEventArgs
gdvcfe = DataGridView.OnCellFormatting(
System\Windows\Forms\Controls\DataGridView\DataGridViewEventHandlers.cs (1)
22
public delegate void DataGridViewCellFormattingEventHandler(object? sender,
DataGridViewCellFormattingEventArgs
e);
System.Windows.Forms.Tests (5)
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (3)
22
DataGridViewCellFormattingEventArgs
e = new(columnIndex, rowIndex, value, desiredType, cellStyle);
53
DataGridViewCellFormattingEventArgs
e = new(1, 2, "value", typeof(string), new DataGridViewCellStyle())
65
DataGridViewCellFormattingEventArgs
e = new(1, 2, "value", typeof(string), new DataGridViewCellStyle())
System\Windows\Forms\DataGridViewTests.cs (2)
2905
public new void OnCellFormatting(
DataGridViewCellFormattingEventArgs
e) => base.OnCellFormatting(e);
3690
DataGridViewCellFormattingEventArgs
cellFormattingEventArgs = new(0, 0, dataGridView.Rows[0].Cells[0].Value, dataGridView.Rows[0].Cells[0].ValueType, dataGridView.Rows[0].Cells[0].InheritedStyle);