ComponentDesigner::Component Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the component this designer is designing.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

property IComponent^ Component {
	virtual IComponent^ get() sealed;

Property Value

Type: System.ComponentModel::IComponent^

The component managed by the designer.

The Initialize method of ComponentDesigner sets this property.


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

.NET Framework
Available since 1.1
Return to top