Table of Contents

Method PaintBackground

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

PaintBackground(VirtualListBox, ListBoxItemPaintEventArgs)

Called by owner drawn VirtualListBox control for the background painting.

public virtual bool PaintBackground(VirtualListBox sender, ListBoxItemPaintEventArgs e)

Parameters

sender VirtualListBox

VirtualListBox control.

e ListBoxItemPaintEventArgs

Paint arguments

Returns

bool

Remarks

This method must return true if default background painting is not needed. The simplest implemetation is to return false. In this case default background will be painted.