Method DrawItem
DrawItem(ListBoxItemPaintEventArgs)
Draws item with the specified index. If ItemPainter is assigned, uses Paint(VirtualListBox, ListBoxItemPaintEventArgs), otherwise calls DefaultDrawItem(ListBoxItemPaintEventArgs).
public virtual void DrawItem(ListBoxItemPaintEventArgs e)
Parameters
e
ListBoxItemPaintEventArgsDraw parameters.