Base:
property
CellTemplate
System.Windows.Forms.DataGridViewColumn.CellTemplate
2 writes to CellTemplate
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewImageColumnTests.cs (2)
29_column.CellTemplate = null; 37_column.CellTemplate = null;
10 references to CellTemplate
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (2)
131private DataGridViewImageCell? ImageCellTemplate => (DataGridViewImageCell?)CellTemplate; 259if (CellTemplate is not DataGridViewImageCell templateCell)
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewImageColumnTests.cs (8)
131using DataGridViewImageCell cellTemplate = (DataGridViewImageCell)_column.CellTemplate!; 145_column.CellTemplate.Should().NotBeNull(); 165using DataGridViewImageCell cellTemplate = (DataGridViewImageCell)_column.CellTemplate!; 179_column.CellTemplate.Should().NotBeNull(); 180((DataGridViewImageCell)_column.CellTemplate).ValueIsIcon.Should().BeTrue(); 192_column.CellTemplate.Should().NotBeNull(); 229_column.CellTemplate.Should().NotBeNull(); 230((DataGridViewImageCell)_column.CellTemplate).ImageLayout.Should().Be(DataGridViewImageCellLayout.Stretch);