Table of Contents

Method GetWidth

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

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 ComboBox

ComboBox control.

index int

Index of the item.

defaultWidth double

Default width of the item.

Returns

double