Method GetWidth
GetWidth(ComboBox, int, double)
Called by owner drawn ComboBox control in order to get width of the item. Return -1 to use default behavior.
public virtual double GetWidth(ComboBox sender, int index, double defaultWidth)
Parameters
sender
ComboBoxComboBox control.
index
intIndex of the item.
defaultWidth
doubleDefault width of the item.