Condividi tramite


ToolWindowProvider Class

Definition

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.

Applies to