1 override of DefaultNewRowValue
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
38public override object? DefaultNewRowValue
18 references to DefaultNewRowValue
System.Windows.Forms (10)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (8)
10796if (dataGridViewColumn.CellTemplate!.DefaultNewRowValue is not null && NewRowIndex != -1) 10816dataGridViewCellNew.SetValueInternal(rowIndex, dataGridViewCellNew.DefaultNewRowValue); 10941if (dataGridViewColumn.CellTemplate!.DefaultNewRowValue is not null && NewRowIndex != -1) 10968dataGridViewCellNew.Value = dataGridViewCellNew.DefaultNewRowValue; 15431if (dataGridViewColumn.CellTemplate!.DefaultNewRowValue is not null && NewRowIndex != -1) 15451dataGridViewCellNew.Value = dataGridViewCellNew.DefaultNewRowValue; 19776if (dataGridViewCell.DefaultNewRowValue is not null) 19786dataGridViewCell.SetValueInternal(NewRowIndex, dataGridViewCell.DefaultNewRowValue);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (2)
215dataGridViewCell.Value = dataGridViewCell.DefaultNewRowValue; 682dataGridViewCell.Value = dataGridViewCell.DefaultNewRowValue;
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewCellTests.cs (3)
26Assert.Null(cell.DefaultNewRowValue); 3342Assert.Null(cell.DefaultNewRowValue); 3379Assert.Null(cell.DefaultNewRowValue);
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
25Assert.Null(cell.DefaultNewRowValue); 2044Assert.Null(cell.DefaultNewRowValue); 2081Assert.Null(cell.DefaultNewRowValue); 2130Assert.Null(cell.DefaultNewRowValue); 2167Assert.Null(cell.DefaultNewRowValue);