-api-id | -api-type | ms.custom |
---|---|---|
P:Windows.UI.Xaml.Controls.ToolTip.PlacementRect |
winrt property |
RS5 |
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.
The rectangular area that the tooltip is positioned in relation to when opened by the ToolTipService. The default is null.
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.