6 overrides of CellTemplate
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
30
public override DataGridViewCell?
CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
31
public override DataGridViewCell?
CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
67
public override DataGridViewCell?
CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
38
public override DataGridViewCell?
CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
78
public override DataGridViewCell?
CellTemplate
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
21
public override DataGridViewCell?
CellTemplate
8 writes to CellTemplate
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
40
base.
CellTemplate
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
41
base.
CellTemplate
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
58
CellTemplate
= cellTemplate;
831
dataGridViewColumn.
CellTemplate
= (DataGridViewCell?)CellTemplate?.Clone();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
78
base.
CellTemplate
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
48
base.
CellTemplate
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
88
base.
CellTemplate
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
31
base.
CellTemplate
= value;
19 references to CellTemplate
System.Windows.Forms (19)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (8)
4191
if (Columns[columnIndex].
CellTemplate
is null)
4196
DataGridViewCell dgvcNew = (DataGridViewCell)Columns[columnIndex].
CellTemplate
!.Clone();
10793
if (dataGridViewColumn.
CellTemplate
!.DefaultNewRowValue is not null && NewRowIndex != -1)
10809
DataGridViewCell dataGridViewCellNew = (DataGridViewCell)dataGridViewColumn.
CellTemplate
.Clone();
10938
if (dataGridViewColumn.
CellTemplate
!.DefaultNewRowValue is not null && NewRowIndex != -1)
10961
DataGridViewCell dataGridViewCellNew = (DataGridViewCell)dataGridViewColumn.
CellTemplate
!.Clone();
15428
if (dataGridViewColumn.
CellTemplate
!.DefaultNewRowValue is not null && NewRowIndex != -1)
15444
DataGridViewCell dataGridViewCellNew = (DataGridViewCell)dataGridViewColumn.
CellTemplate
.Clone();
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
32
get => base.
CellTemplate
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
33
get => base.
CellTemplate
;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
163
public Type? CellType =>
CellTemplate
?.GetType();
831
dataGridViewColumn.CellTemplate = (DataGridViewCell?)
CellTemplate
?.Clone();
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (2)
20
((DataGridViewComboBoxCell)base.
CellTemplate
!).TemplateComboBoxColumn = this;
69
get => base.
CellTemplate
;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
40
get => base.
CellTemplate
;
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
80
get => base.
CellTemplate
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
1112
if (dataGridViewColumn.
CellTemplate
is null)
1117
DataGridViewCell dgvcNew = (DataGridViewCell)dataGridViewColumn.
CellTemplate
.Clone();
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
23
get => base.
CellTemplate
;