caption Attribute (view Element)

Microsoft Office InfoPath

caption Attribute (view Element)

Provides the display caption for the view within the view list.

Type

      xsf:xdViewName
    

Remarks

The caption attribute is an optional attribute of the view element.

If not specified, the caption of the view defaults to the value of the name attribute.

Example

The following is an example of the caption attribute as it is used in the view element:

    <xsf:views default="View">
   <xsf:view name="View" caption="View">
      <xsf:mainpane transform="view1.xsl"></xsf:mainpane>
      ...
   </xsf:view>
</xsf:views>