Partager via


CommandBarControl.Height Property

Definition

Gets or sets the height of the control.

public:
 property int Height { int get(); void set(int value); };
public:
 property int Height { int get(); void set(int value); };
[System.Runtime.InteropServices.DispId(1610874893)]
public int Height { [System.Runtime.InteropServices.DispId(1610874893)] get; [System.Runtime.InteropServices.DispId(1610874893)] set; }
[<System.Runtime.InteropServices.DispId(1610874893)>]
[<get: System.Runtime.InteropServices.DispId(1610874893)>]
[<set: System.Runtime.InteropServices.DispId(1610874893)>]
member this.Height : int with get, set
Public Property Height As Integer

Property Value

The height of the control.

Attributes

Remarks

This method throws an InvalidOperationException if it is set to another value.

Applies to