public virtual void OnPaint(PaintItemEventArgs e) { using (var brush = new SolidBrush(e.IsSelected ? e.Colors.SelectedForeColor : e.Colors.ForeColor)) e.Graphics.DrawString(ToString(), e.Font, brush, e.TextRect, e.StringFormat); }