CommandBar.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(1610874912)]
public int Width { [System.Runtime.InteropServices.DispId(1610874912)] get; [System.Runtime.InteropServices.DispId(1610874912)] set; }
[<System.Runtime.InteropServices.DispId(1610874912)>]
[<get: System.Runtime.InteropServices.DispId(1610874912)>]
[<set: System.Runtime.InteropServices.DispId(1610874912)>]
member this.Width : int with get, set
Public Property Width As Integer
属性值
命令栏的宽度。
- 属性
注解
如果更改 width 命令栏,则此属性将引发 InvalidOperationException 。