Rediger

Del via


CompositeControlDesigner.Initialize(IComponent) Method

Definition

Initializes the designer with the specified IComponent object.

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)

Parameters

component
IComponent

The IComponent, which is the control associated with this designer.

Remarks

The designer host calls Initialize to initialize the component for design.

The base implementation will throw an exception if the associated control does not implement the INamingContainer interface.

Applies to

See also