Share via


CommandBarButtonClass.Width Property

Definition

Gets or sets the width of the control.

public:
 virtual property int Width { int get(); void set(int value); };
public:
 virtual property int Width { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610874923)]
public virtual 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 Overridable Property Width As Integer

Property Value

The width of the control.

Implements

Attributes

Remarks

This property throws an InvalidOperationException if it is set to a different value.

Applies to