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