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