Class ComboBox.DefaultItemPainter
Default item painter for the ownerdraw ComboBox items.
public class ComboBox.DefaultItemPainter : IComboBoxItemPainter
- Inheritance
-
ComboBox.DefaultItemPainter
- Implements
- Derived
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.