Placement Property
Collapse the table of content
Expand the table of content

ToolTip.Placement Property

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. ]

Gets or sets how the ToolTip should be positioned in relation to the PlacementTarget.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public PlacementMode Placement { get; set; }
<ToolTip Placement="placementModeValue"/>

XAML Values

placementModeValue

A named constant of the PlacementMode enumeration, such as Top.

The PlacementTarget and Placement properties are used together to determine which side of a visual element to place the ToolTip.

Setting the Placement property on ToolTipService takes precedence over the Placement value of ToolTip.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft