property Label.Caption as String
Specifies the control's caption.

TypeDescription
String A String expression that indicates the caption being displayed in the label. The string may contains built-in HTML element like explained.
The Caption property specifies the label's caption. Use the Images method to assign a list of icons being displayed in the caption using the <img> HTML element. Use the HTMLPicture property to add new custom size pictures to be displayed in the label, using the <img> HTML element. Use the ToolTipText property to assign a tooltip to the label. The AnchorClick event notifies your application when the user clicks an anchor/link element. Use the VAlignment property to specify the vertical alignment of the caption inside the label. Use the Alignment property to specify the horizontal alignment of the caption inside the label. If the control's AutoSize property is True, the control is automatically resized to fit its entire content.

The Caption property supports the following built-in HTML elements:

Use the Appearance property to specify the control's border. Use the BorderWidth, BorderHeight property to indent the control's label based on the control's client area. Use the BackColor property to specify the label's background color. Use the ForeColor property to specify the control's foreground color. The RequiredHeight property returns the height of the label required to display its entire contents. The RequiredWidth property returns the width of the label required to display its entire contents.