Partilhar via


_CommandBarButton.Width Property

Definition

Gets or sets the width of the control.

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

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