_CommandBarComboBox.Width 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置控件的宽度。
public:
property int Width { int get(); void set(int value); };
public:
property int Width { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610874923)]
public int Width { [System.Runtime.InteropServices.DispId(1610874923)] get; [System.Runtime.InteropServices.DispId(1610874923)] set; }
[<System.Runtime.InteropServices.DispId(1610874923)>]
[<get: System.Runtime.InteropServices.DispId(1610874923)>]
[<set: System.Runtime.InteropServices.DispId(1610874923)>]
member this.Width : int with get, set
Public Property Width As Integer
属性值
控件的宽度。
实现
- 属性
注解
如果将此属性 InvalidOperationException 设置为其他值,则此属性将引发。