ToolWindowProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class for managing and interacting with tool windows.
public class ToolWindowProvider : Microsoft.VisualStudio.Extensibility.ExtensionPart, Microsoft.VisualStudio.RpcContracts.ToolWindows.IToolWindowProvider
type ToolWindowProvider = class
inherit ExtensionPart
interface IToolWindowProvider
Public Class ToolWindowProvider
Inherits ExtensionPart
Implements IToolWindowProvider
- Inheritance
-
ToolWindowProvider
- Implements
Constructors
ToolWindowProvider(ExtensionCore, VisualStudioExtensibility, IServiceProvider, TraceSource) |
Initializes a new instance of the ToolWindowProvider class. |
Methods
CreateToolWindowAsync(String, CancellationToken) |
Creates and initializes the tool window associated with the given identifier. |
Dispose(Boolean) | Disposes the instane and underlying services. |
GetTitleAsync(String, CancellationToken) |
Gets the title of the tool window associated with the given identifier. |
GetToolWindow(String) |
Gets the tool window for the given identifier. |
OnHideAsync(String, CancellationToken) |
Notifies that the tool window associated with the given identifier is being hidden. |
OnShowAsync(String, CancellationToken) |
Notifies that the tool window associated with the given identifier is being shown. |
RegisterToolWindow(Type) |
Registers a tool window with the tool window provider. |
SubscribeAsync(IObserver<ToolWindowPropertyChangedArgs>, CancellationToken) |
Attaches an observer that receives updates about tool window property changes. |