Поделиться через


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

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace