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
senderComboBoxComboBox control.
indexintIndex of the item.
defaultWidthdoubleDefault width of the item.