Method PaintBackground
PaintBackground(object, ListBoxItemPaintEventArgs)
Called by owner drawn VirtualListBox control for the background painting.
public virtual bool PaintBackground(object sender, ListBoxItemPaintEventArgs e)
Parameters
senderobjectVirtualListBox control.
eListBoxItemPaintEventArgsPaint arguments
Returns
Remarks
This method must return true if default background
painting is not needed. The simplest implementation is to return false.
In this case default background will be painted.