Share via


ToolWindow.WindowTitle Property

Gets the title of the tool window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property WindowTitle As String
public virtual string WindowTitle { get; }
public:
virtual property String^ WindowTitle {
    String^ get ();
}
abstract WindowTitle : string with get 
override WindowTitle : string with get
function get WindowTitle () : String

Property Value

Type: System.String
The title of the tool window.

Examples

The following example assigns a title to a tool window.

public override string WindowTitle
{
     get { return "Custom Window"; }
}  

.NET Framework Security

See Also

Reference

ToolWindow Class

Microsoft.VisualStudio.Modeling.Shell Namespace