ToolTipService.PlacementTarget Attached Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the visual element that the tooltip should be positioned in relation to.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<object ToolTipService.PlacementTarget="{Binding ElementName=placementTargetName}"/>
XAML Values
Property Value
Type: System.Windows.UIElementThe visual element that the tooltip should be displayed in relation to.
Dependency property identifier field: PlacementTargetProperty
Setting the PlacementTarget property on ToolTipService takes precedence over the PlacementTarget value of ToolTip.
This property is an attached property. For information about how to get or set this property in code, see the GetPlacementTarget and SetPlacementTarget methods.