public override void DrawRow (int row, Drawing.RectangleF clipRect)
{
bool shouldDraw = true;
using (var graphics = Graphics.FromHwnd (this.Handle))
{
var events = new DrawItemEventArgs( graphics,this.Font.ToFont(), Rectangle.Round (clipRect),row,getState(row));
if(Host is ListBox)
((ListBox)Host).DrawItemInternal (events);
shouldDraw = !events.Handled;
}
if (shouldDraw)
base.DrawRow (row, clipRect);
}