共用方式為


CommandBarButtonClass.Height Property

Gets the height of the button.

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

Syntax

'宣告
Public Overridable Property Height As Integer
public virtual int Height { get; set; }

Property Value

Type: System.Int32
The height of the button.

Implements

_CommandBarButton.Height

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

Microsoft.VisualStudio.CommandBars Namespace