EditorPartChrome(EditorZoneBase) 构造函数

定义

初始化 EditorPartChrome 类的新实例。Initializes a new instance of the EditorPartChrome class.

public:
 EditorPartChrome(System::Web::UI::WebControls::WebParts::EditorZoneBase ^ zone);
public EditorPartChrome (System.Web.UI.WebControls.WebParts.EditorZoneBase zone);
new System.Web.UI.WebControls.WebParts.EditorPartChrome : System.Web.UI.WebControls.WebParts.EditorZoneBase -> System.Web.UI.WebControls.WebParts.EditorPartChrome
Public Sub New (zone As EditorZoneBase)

参数

zone
EditorZoneBase

关联的 EditorZoneBaseThe associated EditorZoneBase.

例外

zone 引用的 EditorZoneBasenullThe EditorZoneBase that zone refers to is null.

注解

EditorPartChrome 构造函数初始化 EditorPartChrome 类的一个新实例。The EditorPartChrome constructor initializes a new instance of the EditorPartChrome class. 它主要由 EditorZoneBase 区域在其方法中使用 CreateEditorPartChrome ,以创建对象的实例 EditorPartChrome ,该对象处理 chrome 呈现以及 EditorPart 区域中控件的任何自定义呈现。It is used primarily by an EditorZoneBase zone in its CreateEditorPartChrome method to create an instance of the EditorPartChrome object that handles the chrome rendering and any custom rendering for EditorPart controls in the zone.

适用于