DesignerWindowPane::OnClose Method ()
Called in response to the ClosePane method on the IVsWindowPane interface.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
This method is called in response to the ClosePane method. The default implementation calls Dispose; DesignerWindowPane overrides this method to support window pane caching. Window pane caching can provide a performance boost and enable shared features, like a global designer that is shared among multiple child designers. To enable window pane caching, the following scenarios must hold true:
The DesignSurface must offer a service of type T:Microsoft.VisualStudio.Shell.Design.Serialization.DocDataServiceContainer.
The T:Microsoft.VisualStudio.Shell.Design.Serialization.DocDataServiceContainer must contain the DesignSurface as a service.
The combination of these two criteria indicates that the DesignSurface supports caching itself onto the DocData.
Dispose
DesignSurface
T:Microsoft.VisualStudio.Shell.Design.Serialization.DocDataServiceContainer
DocData
DesignerWindowPane Class
Microsoft.VisualStudio.Shell.Design Namespace