Table of Contents

Interface IListBoxItemPainter

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains methods which allow to implement custom painted items for the VirtualListBox control.

public interface IListBoxItemPainter

Methods

GetSize(VirtualListBox, int)

Called by owner drawn VirtualListBox control in order to get size of the item. Return (-1, -1) to use default behavior.

Paint(VirtualListBox, ListBoxItemPaintEventArgs)

Called by owner drawn VirtualListBox control for the item painting.

PaintBackground(VirtualListBox, ListBoxItemPaintEventArgs)

Called by owner drawn VirtualListBox control for the background painting.