Chapter 5. Controls

In this chapter:

  • What controls are and what some common controls are

  • What properties are and what some common properties are

  • What methods are and what some common methods are

  • What events are and what some common events are

A CONTROL IS A PROGRAM OBJECT that represents a visible feature in a Microsoft Windows program. The object includes features that let the program manage the control to make it do things (such as making a drop-down menu open) or change the control’s appearance (such as changing a label’s text or color).

Windows programs are made up of controls. Controls include labels, text boxes, menus, combo boxes, sliders, scroll bars, and everything else you see on a form. In fact, the form itself is a control.

In addition to ...

Get Start Here!™ Fundamentals of Microsoft® .NET Programming 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.