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