Table of Contents

Method GetWidth

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

GetWidth(ComboBox, int, float)

Called by owner drawn ComboBox control in order to get width of the item. Return -1 to use default behavior.

float GetWidth(ComboBox sender, int index, float defaultWidth)

Parameters

sender ComboBox

ComboBox control.

index int

Index of the item.

defaultWidth float

Default width of the item.

Returns

float