2 instantiations of DataGridViewImageCell
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
209dataGridViewCell = new DataGridViewImageCell();
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
23: base(new DataGridViewImageCell(valuesAreIcons))
22 references to DataGridViewImageCell
System.Windows.Forms (22)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
378or DataGridViewImageCell
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
30GetType() == typeof(DataGridViewRowHeaderCell) || GetType() == typeof(DataGridViewImageCell) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (3)
17private static readonly Type s_cellType = typeof(DataGridViewImageCell); 204DataGridViewImageCell dataGridViewCell; 213dataGridViewCell = (DataGridViewImageCell)Activator.CreateInstance(thisType)!;
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.DataGridViewImageCellAccessibleObject.cs (2)
19public override string? Description => Owner is DataGridViewImageCell imageCell ? imageCell.Description : null; 39if (Owner is not DataGridViewImageCell dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (15)
29? DataGridViewImageCell.ErrorIcon 30: DataGridViewImageCell.ErrorBitmap 43if (value is not null and not DataGridViewImageCell) 98if (dataGridViewRow.Cells[Index] is DataGridViewImageCell dataGridViewCell) 131private DataGridViewImageCell? ImageCellTemplate => (DataGridViewImageCell?)CellTemplate; 172if (dataGridViewRow.Cells[Index] is DataGridViewImageCell dataGridViewCell) 212if (dataGridViewRow.Cells[Index] is DataGridViewImageCell dataGridViewCell) 223bitmap == DataGridViewImageCell.ErrorBitmap) 225DefaultCellStyle.NullValue = DataGridViewImageCell.ErrorIcon; 229icon == DataGridViewImageCell.ErrorIcon) 231DefaultCellStyle.NullValue = DataGridViewImageCell.ErrorBitmap; 259if (CellTemplate is not DataGridViewImageCell templateCell) 271? DataGridViewImageCell.ErrorIcon 272: DataGridViewImageCell.ErrorBitmap;