public override int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch) { return x; }
public override int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch) { if (this.MyImage != null) { Image img = this.MyImage; int imgy = e.Bounds.Y + ((int) (e.Bounds.Height / 2)) - ((int) (img.Height / 2)); e.Graphics.DrawImage(img, x, imgy, img.Width, img.Height); x += img.Width + 2; } return x; }
//return the new x coordinate public abstract int DoDraw(DrawListViewSubItemEventArgs e, int x, EXControls.EXColumnHeader ch);