2 instantiations of DataGridViewButtonCell
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
134
dataGridViewCell = new
DataGridViewButtonCell
();
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
17
: base(new
DataGridViewButtonCell
())
13 references to DataGridViewButtonCell
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (3)
32
private static readonly Type s_cellType = typeof(
DataGridViewButtonCell
);
129
DataGridViewButtonCell
dataGridViewCell;
138
dataGridViewCell = (
DataGridViewButtonCell
)Activator.CreateInstance(thisType)!;
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.cs (1)
28
if (Owner is not
DataGridViewButtonCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (6)
26
private
DataGridViewButtonCell
? ButtonCellTemplate => (
DataGridViewButtonCell
?)CellTemplate;
35
if (value is not null and not
DataGridViewButtonCell
)
87
if (dataGridViewRow.Cells[Index] is
DataGridViewButtonCell
dataGridViewCell)
130
if (dataGridViewRow.Cells[Index] is
DataGridViewButtonCell
dataGridViewCell && dataGridViewCell.UseColumnTextForButtonValue)
175
if (dataGridViewRow.Cells[Index] is
DataGridViewButtonCell
dataGridViewCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
375
if (_owner is
DataGridViewButtonCell
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.DataGridViewCheckBoxCellAccessibleObject.cs (1)
28
if (Owner is not
DataGridViewButtonCell
dataGridViewCheckBoxCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewElement.cs (1)
27
GetType() == typeof(
DataGridViewButtonCell
) || GetType() == typeof(DataGridViewCheckBoxCell) ||