Apply Your Knowledge
Exercises
15.1. Sharing Dynamic Properties
When you are assigning dynamic properties to the components of a Windows application, you might want to use the same value for more than one property. You can do this by reusing the keys that are assigned to dynamic properties.
Estimated time: 15 minutes
1. | Open a Visual C# .NET Windows application in the Visual Studio .NET IDE. Add a new form to the application. |
2. | Place three Button controls on the form. |
3. | Select the first Button control. In the Button control's Properties window, click the + sign next to the Dynamic Properties entry. Click in the Advanced section and then click the ellipsis button. The Dynamic Properties dialog box appears. |
4. | In the Dynamic Properties dialog box, ... |
Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.