3 references to GetDropDownButtonHeight
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
761
dropHeight = Math.Min(
GetDropDownButtonHeight
(g, cellStyle), adjustedSize.Height - 2);
2233
dropHeight = Math.Min(
GetDropDownButtonHeight
(g, cellStyle), paintPostXPThemes ? valBounds.Height : valBounds.Height - 2);
2237
dropHeight = Math.Min(
GetDropDownButtonHeight
(g, cellStyle), valBounds.Height - 4);