Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ComponentDesigner::Component Property

 

Gets the component this designer is designing.

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

public:
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.

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
Show:
© 2017 Microsoft