# 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp