ToolWindowPane Class
A default implementation for a tool window. It can be subclassed to implement a customized tool window.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣告
<ComVisibleAttribute(True)> _
Public MustInherit Class ToolWindowPane _
Inherits WindowPane
'用途
Dim instance As ToolWindowPane
[ComVisibleAttribute(true)]
public abstract class ToolWindowPane : WindowPane
[ComVisibleAttribute(true)]
public ref class ToolWindowPane abstract : public WindowPane
[<AbstractClassAttribute>]
[<ComVisibleAttribute(true)>]
type ToolWindowPane =
class
inherit WindowPane
end
public abstract class ToolWindowPane extends WindowPane
Remarks
Derives from WindowPane and inherits the default services that WindowPane provides. Derived tool windows must offer a public constructor that takes a service provider. Visual Studio uses this constructor when it creates an instance of the tool window.
For a sample that uses ToolWindowPane, see the C# Reference.ToolWindow sample.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Shell.WindowPane
Microsoft.VisualStudio.Shell.ToolWindowPane
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.