Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.24 KB

tooltipservice_settooltip_1924909593.md

File metadata and controls

33 lines (21 loc) · 1.24 KB
-api-id -api-type
M:Windows.UI.Xaml.Controls.ToolTipService.SetToolTip(Windows.UI.Xaml.DependencyObject,System.Object)
winrt method

Windows.UI.Xaml.Controls.ToolTipService.SetToolTip

-description

Sets the value of the ToolTipService.ToolTip XAML attached property.

-parameters

-param element

The object to set tooltip content on.

-param value

The value to set for tooltip content.

-remarks

A ToolTip must be assigned to another UI element that is its owner. In Extensible Application Markup Language (XAML), use the ToolTipService.Tooltip attached property to assign the ToolTip to an owner. In code, use the ToolTipService.SetToolTip method to assign the ToolTip to an owner.

See ToolTipService.ToolTip or ToolTip to learn more about the object content or text that is appropriate to use as tooltip content.

-examples

-see-also

ToolTipService.ToolTip, Attached properties overview