A CaptionFormatEnum expression
that indicates whether the control uses built-in HTML tags to display the cell's
caption.
Use the CaptionFormat property to allow built-in HTML tags
in the item's caption. Use the Caption property
to specifies the cell's caption. By default, the CaptionFormat property is
exText.
The control supports the following HTML tags:
<b>bold </b>
<u>underline </u>
<s>strikeout </s>
<i>italic </i>
<fgcolor = FF0000> fgcolor </fgcolor>
<bgcolor = FF0000>bgcolor
</bgcolor>
<br> breaks a line.
<solidline> draws a solid line
<dotline> draws a dotted line
<upline> draws the line to the top of the text line
<r> aligns the rest of the text line to the right side
<img>number</img> inserts an icon inside the item's
caption. The number indicates the index of the icon being inserted.
<img>key[:width]</img> inserts a custom size picture
being loaded using the HTMLPicture
property. The Key parameter indicates the key of the picture being
displayed. The Width parameter indicates a custom size, if you require to
stretch the picture, else the original size of the picture is used.
<font face;size>text </font> displays portions of
text with a different font and/or different size. For instance, the
<font Tahoma;12>bit</font>
draws the bit text using the Tahoma font, on size 12 pt. If the name of
the font is missing, and instead size is present, the current font is used
with a different size. For instance, <font ;12>bit</font>
displays the bit text using the current font, but with a different size.