_OlkComboBox.AutoSize Property
Returns or sets a Boolean (bool in C#) that automatically sizes the control to display the entire contents. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property AutoSize As Boolean
Get
Set
'Usage
Dim instance As _OlkComboBox
Dim value As Boolean
value = instance.AutoSize
instance.AutoSize = value
[DispIdAttribute()]
bool AutoSize { get; set; }
Property Value
Type: System.Boolean
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.