ToolWindowPane Class

A default implementation for a tool window. It can be subclassed for a customized tool window.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
public abstract class ToolWindowPane extends WindowPane

Remarks

Derives from WindowPane and inherits the default services WindowPane provides. Derived tool windows must offer a public constructor that takes a service provider. Visual Studio uses this constructor when creating an instance of the tool window.

For a sample using ToolWindowPane, see Reference.ToolWindow Sample (C#).

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.

See Also

Reference

ToolWindowPane Members

Microsoft.VisualStudio.Shell Namespace