Table of Contents

Interface IComboBoxItemPainter

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

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

public interface IComboBoxItemPainter

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.