Class ColorListBox.DefaultItemPainter
Default item painter for the ColorListBox items.
public class ColorListBox.DefaultItemPainter : IListBoxItemPainter
- Inheritance
-
ColorListBox.DefaultItemPainter
- Implements
Methods
- GetImageColor(ColorListBox, ListBoxItemPaintEventArgs)
Gets image color for the item.
- GetSize(object, int)
Called by owner drawn VirtualListBox control in order to get size of the item. Return (-1, -1) to use default behavior.
- Paint(object, ListBoxItemPaintEventArgs)
Called by owner drawn VirtualListBox control for the item painting.
- PaintBackground(object, ListBoxItemPaintEventArgs)
Called by owner drawn VirtualListBox control for the background painting.