2013-10-7 设置combboxItem高度的方法

//首先设置一个较大的 ItemHeight 值,比如 20;

//然后设置 ComboBox 的 DrawMode 为 OwnerDrawVariable;

//再设置DrawItem事件如下

if (e.Index < 0) return;           

e.DrawBackground(); 

e.DrawFocusRectangle();             

e.Graphics.DrawString(comboBox7.Items[e.Index].ToString(), e.Font, new SolidBrush(e.ForeColor), e.Bounds.X, e.Bounds.Y+2);  //+2是调整内容距上边的距离

原文地址:https://www.cnblogs.com/mol1995/p/5969652.html