O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Properties of Controls

Add controls to a Windows form.

  • Set properties on controls.

Chapter 1 discussed how to work with properties of a Form object. You learned how to manipulate these properties through both the Properties window at design time and a program at runtime. The same concept carries over to Windows forms controls. Recall from the section “Using the System.Windows.Forms.Form Class” in Chapter 1 that a form is also a control that derives from the Control class.

Although this section discusses the properties of controls, some of the properties and their behaviors are similar to those of forms. Controls may also have additional properties, depending on their specific functionality.

To set a property for a control by using the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required