_CommandBarComboBox.DropDownWidth 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回或设置指定命令栏组合框控件的列表) 宽度 (像素。
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,那么将根据控件的宽度来设置列表的宽度。
给调用方的说明