DataPagerDesigner.Initialize(IComponent) 方法
定义
初始化控件设计器并加载指定的控件。Initializes the control designer and loads the specified 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
正在设计的控件。The control being designed.
注解
当设计器宿主 Initialize 准备好使用设计器呈现控件时,将调用方法 DataPager 。The designer host calls the Initialize method when it is ready to use the designer to render the DataPager control. Initialize方法及其基方法会配置属性并连接到设计器所需的事件。The Initialize method and its base methods configure properties and connect to events that are required for the designer.
component参数是 DataPager 与此设计器关联的控件或控件的副本 DataPager 。The component parameter is the DataPager control that is associated with this designer, or a copy of the DataPager control.