Changing Controls Properties in Visual Basic .NET
Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013
This lesson explains how to change properties of your controls
The Properties window lets you change a control's properties at design time.
When you select control in a Form Designer or in the Solution Explorer, the Properties window displays the properties of that control.
To change a property's value, simply click the property and enter the new value. Meaning, for most properties, you can simply click the property and type a new value for the control. However some properties are little more complex than others and provide drop-down lists or special dialogs for setting the property value.
Tip #1: If your Properties window is hidden just press F4 on your keyboard or select Properties Windows on the View menu.
Tip #2: Arranging properties alphabetically makes it easier for many developers to find the certain property.
Another way to set control's property is using Smart Tags. Many controls display a smart tag when you select them on the Designer and it looks like a little box containing a right-pointing triangle. When you click the smart tag, a small dialog appears to let you perform common tasks for the control quickly and easily.
NOTE: You may also set the control properties programmatically at run time:
' this code sets the checkbox's text property Me.CheckBox1.Text = "Remember me"