ToolTipService.ToolTip Attached Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a tooltip to be attached to a control.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
See GetToolTip, SetToolTip
See GetToolTip, SetToolTip
<object>
  <ToolTipService.ToolTip>
    tooltipObject
  </ToolTipService.ToolTip>
</object>
<object ToolTipService.ToolTip="text"/>

XAML Values

  • tooltipObject
    An object element that serves as tooltip content. Use discretion when using objects as tooltip content. Not all Silverlight objects are suitable for use within the limited presentation surface that appears for tooltips. You can also specify an explicit ToolTip object element.

  • text
    A text string that serves as tooltip content.

Property Value

Type: System.Object
The tooltip to display for a control.

Remarks

Dependency property identifier field: ToolTipProperty

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.