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
- 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.