Placement Property

ToolTip.Placement Property


Gets or sets the orientation of the ToolTip control when it opens, and specifies how the ToolTip control behaves when it overlaps screen boundaries.

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

public PlacementMode Placement { get; set; }

Property Value

Type: System.Windows.Controls.Primitives.PlacementMode

A PlacementMode enumeration value that determines the orientation of the ToolTip control when it opens, and that specifies how the control interacts with screen boundaries. The default is Mouse.

You can position a ToolTip by setting the PlacementTarget, PlacementRectangle, Placement, HorizontalOffset, and VerticalOffsetProperty properties. These properties behave the same as they do for a Popup. For more information, see Popup Placement Behavior.

Identifier field


Metadata properties set to true


The following example shows how to create and position a ToolTip.

.NET Framework
Available since 3.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft