共用方式為


WindowPaneProviderService.CreateWindowPane Method

Definition

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.

Returns

The newly-created DesignerWindowPane.

Applies to