Edit

Share via


_OlkComboBox.AutoSize Property

Definition

Returns or sets a Boolean (bool in C#) that automatically sizes the control to display the entire contents. Read/write.

public:
 property bool AutoSize { bool get(); void set(bool value); };
public bool AutoSize { get; set; }
Public Property AutoSize As Boolean

Property Value

Remarks

The default value for this property is False.

Setting AutoSize to True automatically sets the width of the display area to the length of the text in the combo box. This behavior is similar to the single-line text box.

Applies to