caption - Caption
Displays a caption above a container control.
Category
accessibilitySyntax
caption="caption"
Usage
In Design mode, click All Properties and look for caption under accessibility.At run time, the title displays in a box when the user hovers over the control.
Examples
This table has a caption.<xp:table caption="Test caption">>
<xp:tr>
<xp:td>
<xp:label id="label1" value="row 1, column 1"></xp:label>
</xp:td>
<xp:td>
<xp:label value="row 1, column 2" id="label3"></xp:label>
</xp:td>
</xp:tr>
<xp:tr>
<xp:td>
<xp:label value="row 2, column 1" id="label2"></xp:label>
</xp:td>
<xp:td>
<xp:label value="row 2, column 2" id="label4"></xp:label>
</xp:td>
</xp:tr>
</xp:table>