In this lesson, you set several properties that changed the appearance of the controls for your application. A property in Visual Basic represents an attribute of an object—in this case, a control. For example, one attribute of a Button control is the text it displays. In this case, you set the Text property to display "Go!". To learn more about properties, see Closer Look: Understanding Properties, Methods, and Events.
Properties can take many different types of values besides text. For example, the Dock property used a property-selection window to show available options. Other property values might be numbers, an option that you select from a list, or a true-or-false option.
If you resized or relocated a control, you also set properties. The Size and Location properties determine the control's size and location on the form. To see this in action, select the Size property in the Properties window and use the mouse to resize the control. When you release the mouse, the new Size values display in the Properties window. To learn more about control layout, see Closer Look: Understanding Control Layout.
In addition to setting properties in the Properties window, most properties can be set by writing code. You will learn more about how to write code to set properties in a following lesson.