ToolWindow.HasToolBar Property
Gets the tool window and verifies whether it should have a toolbar.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Protected Overridable ReadOnly Property HasToolBar As Boolean
Get
protected virtual bool HasToolBar { get; }
protected:
virtual property bool HasToolBar {
bool get ();
}
abstract HasToolBar : bool
override HasToolBar : bool
function get HasToolBar () : boolean
Property Value
Type: System.Boolean
true if the tool window should have a toolbar; otherwise, false.
Remarks
To display a toolbar and set its coordinates, use ToolBarHost.
By default, this value is false.
.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.