ToolWindowPane::Caption Property

 

Gets or sets the caption for the tool window.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
property String^ Caption {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The caption of the tool window.

This property can be used to get or set the caption of the tool window. If the tool window has not been sited by Visual Studio, setting this caption property just stores the caption in the ToolWindowPane object. If the tool window has been sited by Visual Studio, setting the caption accesses the window frame and updates the caption. The value of this property is used by Package during its CreateToolWindow call. If the caption is set to null, a default empty string is used.

Return to top
Show: