Export (0) Print
Expand All

ToolTipService.ToolTip Attached Property

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

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

'Declaration
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.

Dependency property identifier field: ToolTipProperty

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

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

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

Community Additions

ADD
Show:
© 2014 Microsoft