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