Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.21 KB

tooltip_placementrect.md

File metadata and controls

28 lines (18 loc) · 1.21 KB
-api-id -api-type ms.custom
P:Windows.UI.Xaml.Controls.ToolTip.PlacementRect
winrt property
RS5

Windows.UI.Xaml.Controls.ToolTip.PlacementRect

-description

Gets or sets the rectangular area that the tooltip should be positioned in relation to when opened by the ToolTipService. If space allows, the open tooltip will not occlude the area defined by its PlacementRect.

-property-value

The rectangular area that the tooltip is positioned in relation to when opened by the ToolTipService. The default is null.

-remarks

PlacementRect anchors the tooltip's position and also serves as an area that the opened tooltip will not occlude, provided there's sufficient space to draw tooltip outside this area. You can specify the origin of the rectangle relative to the tooltip's owner, and the height and width of the exclusion area. The Placement property will define if tooltip should draw above, below, left, or right of the PlacementRect.

-see-also

PlacementTarget, Placement

-examples