Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a designer window pane for the specified type of window pane.
Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Protected Function CreateWindowPane ( _
    windowPaneType As Type, _
    surface As DesignSurface _
) As DesignerWindowPane
protected DesignerWindowPane CreateWindowPane(
    Type windowPaneType,
    DesignSurface surface
)
protected:
DesignerWindowPane^ CreateWindowPane(
    Type^ windowPaneType, 
    DesignSurface^ surface
)
member CreateWindowPane : 
        windowPaneType:Type * 
        surface:DesignSurface -> DesignerWindowPane
protected function CreateWindowPane(
    windowPaneType : Type, 
    surface : DesignSurface
) : DesignerWindowPane
Parameters
- windowPaneType 
 Type: Type- The type of the window pane. 
- surface 
 Type: DesignSurface- The DesignSurface. 
Return Value
Type: Microsoft.VisualStudio.Shell.Design.DesignerWindowPane
The newly-created DesignerWindowPane.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.