Gets the component this designer is designing.

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

public IComponent Component { get; }
public:
property IComponent^ Component {
	virtual IComponent^ get() sealed;
}
abstract Component : IComponent with get
override Component : IComponent with get
Public ReadOnly Property Component As IComponent

Property Value

Type:

The component managed by the designer.

Implements

The Initialize method of ComponentDesigner sets this property.

System_CAPS_noteNote

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