Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property HasToolBar As Boolean
'Usage
Dim value As Boolean 

value = Me.HasToolBar
protected virtual bool HasToolBar { get; }
protected:
virtual property bool HasToolBar {
    bool get ();
}
protected 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

See Also

Reference

ToolWindow Class

ToolWindow Members

Microsoft.VisualStudio.Modeling.Shell Namespace