HiddenFieldDesigner.Initialize(IComponent) 方法

定义

准备设计器,以查看、编辑和设计关联的组件。Prepares the designer to view, edit, and design the associated control.

public:
 override void Initialize(System::ComponentModel::IComponent ^ component);
public override void Initialize (System.ComponentModel.IComponent component);
override this.Initialize : System.ComponentModel.IComponent -> unit
Public Overrides Sub Initialize (component As IComponent)

参数

component
IComponent

一个 HiddenField,它实现 IComponentA HiddenField, which implements an IComponent.

注解

设计器在 Initialize 准备好使用设计器呈现控件时调用方法 HiddenFieldThe designer calls the Initialize method when it is ready to use the designer to render the HiddenField control. Initialize及其基方法会配置属性并连接到设计器操作所需的事件。The Initialize and its base methods configure properties and connect to events that are necessary for the operation of the designer.

component参数是 HiddenField 与此设计器或控件的副本关联的控件 HiddenFieldThe component parameter is the HiddenField control that is associated with this designer or a copy of the HiddenField control.

适用于

另请参阅