3 references to GetDropDownButtonHeight
System.Windows.Forms (3)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
543
dropHeight = Math.Min(
GetDropDownButtonHeight
(screen, cellStyle), adjustedSize.Height - 2);
1996
dropHeight = Math.Min(
GetDropDownButtonHeight
(g, cellStyle), paintPostXPThemes ? valBounds.Height : valBounds.Height - 2);
2000
dropHeight = Math.Min(
GetDropDownButtonHeight
(g, cellStyle), valBounds.Height - 4);