9 references to GetPreferredHeight
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
3122
int height =
GetPreferredHeight
(rowIndex, this.OwningColumn.Width);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
410
preferredThickness = dataGridViewCell.
GetPreferredHeight
(rowIndex, width);
488
preferredHeight = dataGridViewCell.
GetPreferredHeight
(rowIndex, width);
1745
preferredHeight = this.TopLeftHeaderCell.
GetPreferredHeight
(-1, this.layout.TopLeftHeader.Width);
1759
preferredHeight = Math.Max(preferredHeight, this.Columns[columnIndex].HeaderCell.
GetPreferredHeight
(-1, this.Columns[columnIndex].Thickness));
1818
preferredHeight = this.TopLeftHeaderCell.
GetPreferredHeight
(-1, this.layout.TopLeftHeader.Width);
1832
preferredHeight = Math.Max(preferredHeight, this.Columns[columnIndexTmp].HeaderCell.
GetPreferredHeight
(-1, this.Columns[columnIndexTmp].Thickness));
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
1408
preferredRowThickness = Math.Max(preferredRowThickness, this.HeaderCell.
GetPreferredHeight
(rowIndex, this.DataGridView.RowHeadersWidth));
1425
preferredCellThickness = dataGridViewCell.
GetPreferredHeight
(rowIndex, dataGridViewColumn.Width);