_CommandBarComboBox.DropDownLines Property
Returns or sets the number of lines in a command bar combo box control.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property DropDownLines As Integer
Get
Set
'Usage
Dim instance As _CommandBarComboBox
Dim value As Integer
value = instance.DropDownLines
instance.DropDownLines = value
int DropDownLines { get; set; }
Property Value
Type: System.Int32
Remarks
If this property is set to 0 (zero), the number of lines in the control will be based on the number of items in the list.
The combo box control must be a custom control and it must be a drop-down list box or a combo box. An error occurs if you attempt to set this property for a combo box control that's an edit box or a built-in combo box control.
Notes to Callers