다음을 통해 공유


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

Syntax

'Declaration
Protected Overridable ReadOnly Property HasToolBar As Boolean
protected virtual bool HasToolBar { get; }
protected:
virtual property bool HasToolBar {
    bool get ();
}
abstract HasToolBar : bool with get 
override HasToolBar : bool with get
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

Microsoft.VisualStudio.Modeling.Shell Namespace