Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
/** @property */ public Object get_ToolTip () /** @property */ public void set_ToolTip (Object value)
<object> <object.ToolTip> <ToolTip .../> </object.ToolTip> </object> - or - <object> <object.ToolTip> toolTipObjectContent </object.ToolTip> </object>
toolTipContent A string that becomes the display text for the ToolTip. toolTipObjectContent Some object, provided in object element form, that should be used as the content for the FrameworkContentElement . Typically this would be a FrameworkElement or some other element that creates layout compositing for the ToolTip, eventually containing text content within the compositing. In this usage, the ToolTip element is created implicitly from the parsed XAML, and the toolTipObjectContent content is set as its ContentControl.Content property. <ToolTip .../> See ToolTip.
Property ValueThe tooltip object. See Remarks below for details on why this parameter is not strongly typed.
Metadata properties set to true
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.