_CommandBarComboBox.DropDownWidth Property
Returns or sets the width (in pixels) of the list for the specified command bar combo box control.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property DropDownWidth As Integer
Get
Set
'Usage
Dim instance As _CommandBarComboBox
Dim value As Integer
value = instance.DropDownWidth
instance.DropDownWidth = value
int DropDownWidth { get; set; }
Property Value
Type: System.Int32
Remarks
An error occurs if you attempt to set this property for a built-in control.
If this property is set to -1, the width of the list is based on the length of the longest item in the combo box list. If this property is set to 0, the width of the list is based on the width of the control.
Notes to Callers