WindowPaneProviderService.CreateWindowPane 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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。
适用于
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
窗口窗格的类型。
- surface
- DesignSurface
返回
新创建的 DesignerWindowPane 。