11 references to CellType
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10791
if (dataGridViewColumn.
CellType
is null)
10869
if (Rows.Count > 0 && dataGridViewColumn.
CellType
is null)
10940
Debug.Assert(dataGridViewColumn.
CellType
is not null);
10958
Debug.Assert(dataGridViewColumn.
CellType
is not null);
15426
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)
18
Assert.Null(column.
CellType
);
69
Assert.Equal(cellTemplate?.GetType(), column.
CellType
);
511
Assert.Same(value?.GetType(), column.
CellType
);
516
Assert.Same(value?.GetType(), column.
CellType
);