IToolWindowProvider Interface
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.
Provides a way to expose tool windows.
public interface IToolWindowProvider
type IToolWindowProvider = interface
Public Interface IToolWindowProvider
- Derived
Remarks
Implemented automatically by the extension in response to declaring a tool window.
Methods
CreateToolWindowAsync(String, CancellationToken) |
Creates and initializes the tool window associated with the given identifier. |
GetTitleAsync(String, CancellationToken) |
Gets the title of the tool window associated with 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. |
SubscribeAsync(IObserver<ToolWindowPropertyChangedArgs>, CancellationToken) |
Attaches an observer that receives updates about tool window property changes. |