_CommandBarComboBox.DropDownLines 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回或设置命令栏组合框控件中的行数。
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 (零) ,控件中的行数将基于列表中的项数。
该组合框控件必须为自定义控件并且是下拉列表框或组合框。 如果试图设置该属性的组合框控件是编辑框或内置组合框控件,则会出现错误。
给调用方的说明