8 overrides of GetContentBounds
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (1)
149
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
444
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
211
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
728
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (1)
225
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkCell.cs (1)
420
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
183
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxCell.cs (1)
256
protected override Rectangle
GetContentBounds
(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex)
3 references to GetContentBounds
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1473
return
GetContentBounds
(screen, dataGridViewCellStyle, rowIndex);
2755
Rectangle contentBounds =
GetContentBounds
(screen, dataGridViewCellStyle, rowIndex);
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataGridViewCellTests.cs (1)
6602
public new Rectangle GetContentBounds(Graphics graphics, DataGridViewCellStyle cellStyle, int rowIndex) => base.
GetContentBounds
(graphics, cellStyle, rowIndex);