WindowPaneProviderService.CreateWindowPane 方法

定义

重载

CreateWindowPane(DesignSurface)

为指定的设计图面创建窗口窗格。

CreateWindowPane(Type, DesignSurface)

为指定的窗口窗格类型创建设计器窗口窗格。

CreateWindowPane(DesignSurface)

为指定的设计图面创建窗口窗格。

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

参数

surface
DesignSurface

DesignSurface从中创建窗口窗格的。

返回

DesignerWindowPane

创建的 DesignerWindowPane

适用于

CreateWindowPane(Type, DesignSurface)

为指定的窗口窗格类型创建设计器窗口窗格。

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

参数

windowPaneType
Type

窗口窗格的类型。

返回

DesignerWindowPane

新创建的 DesignerWindowPane

适用于