ToolWindow.WindowTitle Property
Gets the title of the tool window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
Public Overridable ReadOnly Property WindowTitle As String
Get
public virtual string WindowTitle { get; }
public:
virtual property String^ WindowTitle {
String^ get ();
}
abstract WindowTitle : string
override WindowTitle : string
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.