11 references to CellType
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10793if (dataGridViewColumn.CellType is null) 10870if (Rows.Count > 0 && dataGridViewColumn.CellType is null) 10941Debug.Assert(dataGridViewColumn.CellType is not null); 10958Debug.Assert(dataGridViewColumn.CellType is not null); 15414if (dataGridViewColumn.CellType is null)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (2)
40if (dataGridViewColumn.CellType is not null) 45return new InstanceDescriptor(ctor, new object[] { dataGridViewColumn.CellType }, false);
System.Windows.Forms.Tests (4)
System\Windows\Forms\DataGridViewColumnTests.cs (4)
16Assert.Null(column.CellType); 67Assert.Equal(cellTemplate?.GetType(), column.CellType); 509Assert.Same(value?.GetType(), column.CellType); 514Assert.Same(value?.GetType(), column.CellType);