2 instantiations of DataGridViewButtonCell
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
193dataGridViewCell = new DataGridViewButtonCell();
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (1)
30: base(new DataGridViewButtonCell())
18 references to DataGridViewButtonCell
System.Windows.Forms (18)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (6)
42private static Type cellType = typeof(DataGridViewButtonCell); 188DataGridViewButtonCell dataGridViewCell; 199dataGridViewCell = (DataGridViewButtonCell)System.Activator.CreateInstance(thisType); 354Rectangle rectThemeMargins = DataGridViewButtonCell.GetThemeMargins(graphics); 1123DataGridViewButtonCell dataGridViewCell = (DataGridViewButtonCell)this.Owner;
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (11)
50if (value != null && !(value is System.Windows.Forms.DataGridViewButtonCell)) 90return ((DataGridViewButtonCell) this.CellTemplate).FlatStyle; 96((DataGridViewButtonCell)this.CellTemplate).FlatStyle = value; 104DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell; 146DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell; 174return ((DataGridViewButtonCell)this.CellTemplate).UseColumnTextForButtonValue; 180((DataGridViewButtonCell)this.CellTemplate).UseColumnTextForButtonValueInternal = value; 188DataGridViewButtonCell dataGridViewCell = dataGridViewRow.Cells[this.Index] as DataGridViewButtonCell;
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
5164if (this.owner is DataGridViewButtonCell ||