Upravit

Sdílet prostřednictvím


_CommandBarComboBox.DropDownLines Property

Definition

Returns or sets the number of lines in a command bar combo box control.

public:
 property int DropDownLines { int get(); void set(int value); };
public int DropDownLines { get; set; }
member this.DropDownLines : int with get, set
Public Property DropDownLines As Integer

Property Value

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

Applies to