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