property Element.Caption as String
Gets or sets a value that indicates the HTML caption to be displayed on the element.

TypeDescription
String A String expression that defines the HTML caption to be displayed on the element's background.
By default, the Caption property is empty. Use the Caption property to define the label or caption to be displayed on the element's background. The CaptionAlign property specifies the alignment of the caption relative to the edges of the element. The CaptionSingleLine property specifies whether the element's caption is displayed on single or multiple lines. The ExtraCaption property defines the second or the extra caption to be displayed on the element's background. The Images method loads icons to be displayed on the control's surface. The HTMLPicture property loads and assigns a picture to a key to be used on control's surface. Use the Pictures property to display one or more icons, picture to the element. Use the ElementFormat property to define how the parts of the element are displayed. 

The Caption property supports the following HTML elements: