WindowPane Class
Represents a Visual Studio window pane.
System.Object
Microsoft.VisualStudio.Shell.WindowPane
Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
Microsoft.VisualStudio.Shell.ToolWindowPane
Microsoft.VisualStudio.Shell.WindowPane
Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
Microsoft.VisualStudio.Shell.ToolWindowPane
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
The WindowPane type exposes the following members.
| Name | Description | |
|---|---|---|
|
WindowPane() | Initializes a new instance of WindowPane with a null parent service provider |
|
WindowPane(IServiceProvider) | Initializes a new instance of WindowPane with the specified service provider. |
| Name | Description | |
|---|---|---|
|
Content | Gets or sets the content of this tool window. |
|
InitializationMode | Gets the initialization mode that is associated with this window pane. |
|
Window | Gets the window associated with this window pane. |
| Name | Description | |
|---|---|---|
|
Dispose() | Disposes the window pane and its resources. |
|
Dispose(Boolean) | Disposes the resources of the window pane. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetService | Gets the service of the specified type. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
Initialize | Initializes services after the window pane has been sited. |
|
LoadUIState | Override to load the previously saved state of the pane. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnClose | Raised when the window is closed. |
|
OnCreate | Raised when the window pane is created. |
|
PreProcessMessage | Preprocesses the messages from navigation keys. |
|
SaveUIState | Override to save custom state information to be used later when the pane is reconstructed. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
IServiceProvider.GetService | Gets the service of the specified type. |
|
IOleCommandTarget.Exec | Executes the specified command. |
|
IOleCommandTarget.QueryStatus | Gets the status of the commands. |
|
IVsUIElementPane.CloseUIElementPane | Closes the pane. |
|
IVsUIElementPane.CreateUIElementPane | Creates the pane. |
|
IVsUIElementPane.GetDefaultUIElementSize | When implemented in a derived class, gets the default size of the pane. |
|
IVsUIElementPane.LoadUIElementState | When implemented in a derived class, loads custom state storage. |
|
IVsUIElementPane.SaveUIElementState | Stores the state of the pane to the specified stream. |
|
IVsUIElementPane.SetUIElementSite | Sets the site for this window pane. |
|
IVsUIElementPane.TranslateUIElementAccelerator | Handles keyboard accelerators before the shell processes the message. |
|
IVsWindowPane.ClosePane | Obsolete. Closes the window pane. Obsolete. |
|
IVsWindowPane.CreatePaneWindow | Obsolete. Creates a window pane. Obsolete. |
|
IVsWindowPane.GetDefaultSize | Obsolete. Gets the default size of the window pane. Obsolete. |
|
IVsWindowPane.LoadViewState | Obsolete. Loads the saved view state. Obsolete. |
|
IVsWindowPane.SaveViewState | Obsolete. Saves the loaded view state. Obsolete. |
|
IVsWindowPane.SetSite | Obsolete. Initializes this window pane with the specified service provider. Obsolete. |
|
IVsWindowPane.TranslateAccelerator | Obsolete. Handles the translation of navigation keys. Obsolete |
This class implements IVsUIElementPane, which allows you use WPF elements as windows. This class also implements IOleCommandTarget, maps it to IMenuCommandService and IObjectWithSite, and maps the site to services that can be queried through its protected GetService method.
This class also implements IVsWindowPane, but the methods are now obsolete.