共用方式為


_CommandBarButton.Height Property

Gets the height of the button.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property Height As Integer
int Height { get; set; }

Property Value

Type: System.Int32
The height of the button.

Remarks

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Height Overload

Microsoft.VisualStudio.CommandBars Namespace