WindowPane Class
Represents a Visual Studio window pane.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.Shell.WindowPane
Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
Microsoft.VisualStudio.Shell.ToolWindowPane
| 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(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetService(Type) | Gets the service of the specified type. |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize() | Initializes services after the window pane has been sited. |
![]() | LoadUIState(Stream) | Override to load the previously saved state of the pane. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnClose() | Raised when the window is closed. |
![]() | OnCreate() | Raised when the window pane is created. |
![]() | PreProcessMessage(Message) | Preprocesses the messages from navigation keys. |
![]() | SaveUIState(Stream) | Override to save custom state information to be used later when the pane is reconstructed. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IOleCommandTarget.Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) | Executes the specified command. |
![]() ![]() | IOleCommandTarget.QueryStatus(Guid, UInt32, OLECMD[], IntPtr) | Gets the status of the commands. |
![]() ![]() | IVsUIElementPane.CloseUIElementPane() | Closes the pane. |
![]() ![]() | IVsUIElementPane.CreateUIElementPane(Object) | Creates the pane. |
![]() ![]() | IVsUIElementPane.GetDefaultUIElementSize(SIZE[]) | When implemented in a derived class, gets the default size of the pane. |
![]() ![]() | IVsUIElementPane.LoadUIElementState(IStream) | When implemented in a derived class, loads custom state storage. |
![]() ![]() | IVsUIElementPane.SaveUIElementState(IStream) | Stores the state of the pane to the specified stream. |
![]() ![]() | IVsUIElementPane.SetUIElementSite(IServiceProvider) | Sets the site for this window pane. |
![]() ![]() | IVsUIElementPane.TranslateUIElementAccelerator(MSG[]) | Handles keyboard accelerators before the shell processes the message. |
![]() ![]() | IVsWindowPane.ClosePane() | Obsolete.Closes the window pane. Obsolete. |
![]() ![]() | IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr) | Obsolete.Creates a window pane. Obsolete. |
![]() ![]() | IVsWindowPane.GetDefaultSize(SIZE[]) | Obsolete.Gets the default size of the window pane. Obsolete. |
![]() ![]() | IVsWindowPane.LoadViewState(IStream) | Obsolete.Loads the saved view state. Obsolete. |
![]() ![]() | IVsWindowPane.SaveViewState(IStream) | Obsolete.Saves the loaded view state. Obsolete. |
![]() ![]() | IVsWindowPane.SetSite(IServiceProvider) | Obsolete.Initializes this window pane with the specified service provider. Obsolete. |
![]() ![]() | IVsWindowPane.TranslateAccelerator(MSG[]) | Obsolete.Handles the translation of navigation keys. Obsolete |
![]() ![]() | IServiceProvider.GetService(Type) | Gets the service of the specified type. |
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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





