System.Web.UI.Design.WebControls.BaseDataListDesigner.Initialize Method

Prepares the designer to view, edit, and design the associated control.

Syntax

public override void Initialize (System.ComponentModel.IComponent component)

Parameters

component
A control derived from the System.Web.UI.WebControls.BaseDataList, which implements an System.ComponentModel.IComponent.

Remarks

The designer host calls the BaseDataListDesigner.Initialize(System.ComponentModel.IComponent) method when it is ready to use the designer to render the control that is derived from the System.Web.UI.WebControls.BaseDataList class. The BaseDataListDesigner.Initialize(System.ComponentModel.IComponent) method and its base methods configure properties and connect to events that are necessary for the operation of the designer.

The BaseDataListDesigner.Initialize(System.ComponentModel.IComponent) connects to the design-time data source and updates the design-time markup. If the System.ComponentModel.IComponent.Site property implements the System.ComponentModel.Design.IComponentChangeService interface, the BaseDataListDesigner.Initialize(System.ComponentModel.IComponent) connects the System.ComponentModel.Design.IComponentChangeService.ComponentAdded, System.ComponentModel.Design.IComponentChangeService.ComponentRemoving, and System.ComponentModel.Design.IComponentChangeService.ComponentRemoved events.

The component parameter is the control, derived from the System.Web.UI.WebControls.BaseDataList, that is associated with this designer, or a copy of that control.

Requirements

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0