Table of Contents

Class ColorComboBox.DefaultItemPainter

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

Default item painter for the ColorComboBox items.

public class ColorComboBox.DefaultItemPainter : IComboBoxItemPainter
Inheritance
ColorComboBox.DefaultItemPainter
Implements

Methods

GetHeight(ComboBox, int, double)

Called by owner drawn ComboBox control in order to get height of the item. Return -1 to use default behavior.

GetWidth(ComboBox, int, double)

Called by owner drawn ComboBox control in order to get width of the item. Return -1 to use default behavior.

Paint(ComboBox, ComboBoxItemPaintEventArgs)

Called by owner drawn ComboBox control for the item painting.