다음을 통해 공유


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
    Get
    Set
‘사용 방법
Dim instance As CommandBarButtonClass
Dim value As Integer

value = instance.Height

instance.Height = value
public virtual int Height { get; set; }
public:
virtual property int Height {
    int get ();
    void set (int value);
}
abstract Height : int with get, set
override Height : int with get, set
function get Height () : int
function set Height (value : int)

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

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace