This documentation is archived and is not being maintained.

How to: Attach Smart Tags to a Windows Forms Component

This example shows how to add smart tag support to components and custom controls.

For a complete explanation of this code example, see Walkthrough: Adding Smart Tags to a Windows Forms Component.

No code example is currently available or this language may not be supported.

Whenever you make changes to the design-time aspects of a component, you need to rebuild the control project. In addition, if there is another Windows Forms project that is currently open and uses this component, then you will probably need to refresh the project to see the changes. Typically, you need to close and reopen the design window containing the component.

Note Note

You must add a reference to the design-time assembly, System.Design.dll. This assembly is not included in the .NET Framework 4 Client Profile. To add a reference to System.Design.dll, you must change the project's Target Framework to .NET Framework 4.

Show: