|
A label is identifying or descriptive text that is associated with a control, such as a text box or dropdown box. |
Appearance |
|
AutoSize |
If set to True, the label control automatically adjusts its size to match the length of the Text. If set to False, the label control does not automatically adjust its size. |
BackColor |
The background color of the label. Choose from web, system, or custom colors. |
Font |
Refers to a type family. Controls the appearance of the label text including size, bold, italic, and underline. |
ForeColor |
The color of the label text. Choose from web, system, or custom colors. |
Text |
The text of the label that displays on the form. |
Behavior |
|
Enabled |
Sets the initial state of the field as enabled (True) or disabled (False). If set to False, the label is dimmed. |
Visible |
If set to True, the label is visible on the form. If False, the label is not visible. |
Border |
|
BorderColor |
The color of the border that displays around the label. Choose from web, system, or custom colors. |
BorderStyle |
Controls the appearance of the border. The default value is None, meaning no border displays around the label. |
BorderWidth |
Controls the width of the border (in pixels). |
Control |
|
ControlID |
Used to identify the control. For example, the first label on the form will be assigned the control ID Label1 while the next label is assigned Label2. You can change the control ID as needed. The ID can contain numerals or letters, but it must begin with a letter. |
Layout |
|
Position |
Controls the relative position (in pixels) of the label on the form. The X value determines left to right, the Y value determines top to bottom position. Click the Position property and type values or expand the row to view the X and Y properties and make your changes. |
Size |
Controls the width and height of the label (in pixels). Click the Size property and type values or expand the row to view the Width and Height properties and make your changes. |