# tooltip Attribute

Provides the ScreenTip text to be used for the button.

## Type

    xsf:xdTitle

## Remarks

The tooltip attribute is an optional attribute of the button element.

This attribute applies only to buttons used on a toolbar.

## Example

The following is an example of the tooltip attribute as it is used in the button element:

    <xsf:toolbar caption="CD Collection Toolbar" name="CD Collection Toolbar">
       <xsf:button action="xCollection::insert" xmlToEdit="CD_10"
          caption="New CD" showIf="always"
          tooltip="Insert a CD.">
       </xsf:button>
       ...
    </xsf:toolbar>

©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