DesignSurfaceExtension::OnComponentCreated Method (IComponent^)

 

This method is called when a new component is created but before that component is added to the designer.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
virtual void OnComponentCreated(
	IComponent^ component
)

Parameters

component
Type: System.ComponentModel::IComponent^

The component that has been created.

You may freely change metadata of the component at this time. The default implementation does nothing.

Return to top
Show: