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