_CommandBarComboBox.DropDownLines 属性

定义

返回或设置命令栏组合框控件中的行数。

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

属性值

注解

如果此属性设置为 0 (零) ,控件中的行数将基于列表中的项数。

该组合框控件必须为自定义控件并且是下拉列表框或组合框。 如果试图设置该属性的组合框控件是编辑框或内置组合框控件,则会出现错误。

给调用方的说明

适用于