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