CommandBar.Width 属性

定义

获取命令栏的宽度。

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

属性值

Int32

命令栏的宽度。

属性

注解

如果更改 width 命令栏,则此属性将引发 InvalidOperationException

适用于