WindowPaneProviderService.CreateWindowPane Method
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.
Overloads
CreateWindowPane(DesignSurface) |
Creates a window pane for the specified design surface. |
CreateWindowPane(Type, DesignSurface) |
Creates a designer window pane for the specified type of window pane. |
CreateWindowPane(DesignSurface)
Creates a window pane for the specified design surface.
public:
virtual Microsoft::VisualStudio::Shell::Design::DesignerWindowPane ^ CreateWindowPane(System::ComponentModel::Design::DesignSurface ^ surface);
public virtual Microsoft.VisualStudio.Shell.Design.DesignerWindowPane CreateWindowPane (System.ComponentModel.Design.DesignSurface surface);
abstract member CreateWindowPane : System.ComponentModel.Design.DesignSurface -> Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
override this.CreateWindowPane : System.ComponentModel.Design.DesignSurface -> Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
Public Overridable Function CreateWindowPane (surface As DesignSurface) As DesignerWindowPane
Parameters
- surface
- DesignSurface
The DesignSurface from which the window pane is created.
Returns
The created DesignerWindowPane.
Applies to
CreateWindowPane(Type, DesignSurface)
Creates a designer window pane for the specified type of window pane.
protected:
Microsoft::VisualStudio::Shell::Design::DesignerWindowPane ^ CreateWindowPane(Type ^ windowPaneType, System::ComponentModel::Design::DesignSurface ^ surface);
protected Microsoft.VisualStudio.Shell.Design.DesignerWindowPane CreateWindowPane (Type windowPaneType, System.ComponentModel.Design.DesignSurface surface);
member this.CreateWindowPane : Type * System.ComponentModel.Design.DesignSurface -> Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
Protected Function CreateWindowPane (windowPaneType As Type, surface As DesignSurface) As DesignerWindowPane
Parameters
- windowPaneType
- Type
The type of the window pane.
- surface
- DesignSurface
The DesignSurface.
Returns
The newly-created DesignerWindowPane.