Share via


CommandBar.Width Property

Definition

Gets the width of the command bar.

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

Property Value

The width of the command bar.

Attributes

Remarks

If you change the width command bar, this property throws an InvalidOperationException.

Applies to