_CommandBarComboBox.DropDownWidth 属性

定义

返回或设置指定命令栏组合框控件的列表) 宽度 (像素。

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

属性值

注解

如果为内置的组合框控件设置该属性,则会出现错误。

如果此属性设置为 -1,则列表的宽度基于组合框列表中最长项的长度。 如果将该属性设置为 0,那么将根据控件的宽度来设置列表的宽度。

给调用方的说明

适用于