Gets or sets the tool-tip object that is displayed for this element in the user interface (UI).
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object> <object.ToolTip> <ToolTip .../> </object.ToolTip> </object> - or - <object> <object.ToolTip> toolTipObjectContent </object.ToolTip> </object>
Property ValueType: System.Object
The tooltip object. See Remarks below for details on why this parameter is not strongly typed.
If the value of this property is of type ToolTip, then that is the tool-tip that will be used in the UI. If the value is of any other type, then that value will be used as the content for a ToolTip provided (constructed) by the system. For more information see ToolTipService. The service class provides attached properties that can be used to further customize a tool-tip.
The following example sets the value of the ToolTip property directly to a string.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.