caption Attribute (taskpane Element)

Microsoft Office InfoPath

caption Attribute (taskpane Element)

Defines the caption used in the task pane drop-down list box.

Type

      xsd:string
    

Remarks

The caption attribute is a required attribute of the taskpane element.

If the caption attibute is contains an empty value, then the default caption of "Form Tasks" is used.

Example

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

    <xsf:xDocumentClass>
   ...
   <xsf:taskpane
      caption="My Custom Task Pane"
      href="MyCustomTaskPane.htm"/>
   ...
</xsf:xDocumentClass>