CommandBar.Height Property
Gets the height of the command bar.
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 command bar.
Remarks
This method throws an InvalidOperationException if it is set to another value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.