Setting and Adding Properties to a Windows Form

Create a Windows form by using the Windows Forms Designer:

  • Add and set properties on a Windows form.

The properties of an object provide a mechanism through which objects can expose their characteristics to the external world. In the following sections you will learn how to customize a form's appearance by using its properties. You will also learn how you can add your own properties to a form.

Using the Visual Designer to Set Windows Form Properties

A Windows form derives from several other classes, such as Object, Control, and so on, through a chain of inheritances. As a result of this inheritance, the Windows form inherits the properties of its parent classes in addition of its own specific properties. ...

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.