Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I get undo to work for smart tag items?

As with all changes made to a Component or Control on the design surface, you'll need to raise ComponentChanged and ComponentChanging events. The easiest way to do this is to use PropertyDescriptor to set values.

To see an example of using PropertyDescriptor to set a value in a smart tag item, see the BackColor property in the SmartTagButtonActionList class in the SmartTagSample project.



Page view counter