namespace System.Windows.Forms { class ComboBoxEx : ComboBox { public ComboBoxEx() { DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; DrawItem += (s, e) => { if (e.Index < 0) return; e.DrawBackground(); e.DrawFocusRectangle(); e.Graphics.DrawString(GetItemText(Items[e.Index]), e.Font, new SolidBrush(e.ForeColor), e.Bounds.X, e.Bounds.Y + 8); }; ItemHeight = 30; } } }