ComponentDesigner.Component Property

Definition

Gets the component this designer is designing.

public:
 property System::ComponentModel::IComponent ^ Component { System::ComponentModel::IComponent ^ get(); };
public System.ComponentModel.IComponent Component { get; }
member this.Component : System.ComponentModel.IComponent
Public ReadOnly Property Component As IComponent

Property Value

The component managed by the designer.

Implements

Remarks

The Initialize method of ComponentDesigner sets this property.

Note

When overriding the Initialize method, be sure to call the base class Initialize method before using this property.

Applies to

See also