ToolTipService Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents a service that provides static methods to display a tooltip.
Assembly: System.Windows (in System.Windows.dll)
The ToolTipService type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Placement | Gets or sets the position of the tooltip in relation to its target visual element. |
![]() | PlacementTarget | Gets or sets the visual element that the tooltip should be positioned in relation to. |
![]() | ToolTip | Gets or sets a tooltip to be attached to a control. |
| Name | Description | |
|---|---|---|
![]() ![]() | GetPlacement | Gets the relative position of the specified tooltip. |
![]() ![]() | GetPlacementTarget | Gets the visual element that the tooltip is positioned relative to. |
![]() ![]() | GetToolTip | Gets the tooltip for an object. |
![]() ![]() | SetPlacement | Sets the position of the specified ToolTip using the specified placement mode. |
![]() ![]() | SetPlacementTarget | Sets the position of the specified ToolTip relative to the specified value element. |
![]() ![]() | SetToolTip | Sets the tooltip for an object. |
| Name | Description | |
|---|---|---|
![]() ![]() | PlacementProperty | Identifies the Placement dependency property. |
![]() ![]() | PlacementTargetProperty | Identifies the PlacementTarget dependency property. |
![]() ![]() | ToolTipProperty | Identifies the ToolTip dependency property. |
To display a tooltip for a control you must use the ToolTipService class. Use the static SetToolTip and GetToolTip methods to set and get the tooltip for a control.
Show:



