Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
2198 lines (1973 sloc) 150 KB
<Type Name="ToolTipService" FullName="System.Windows.Controls.ToolTipService">
<TypeSignature Language="C#" Value="public static class ToolTipService" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed ToolTipService extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Windows.Controls.ToolTipService" />
<TypeSignature Language="VB.NET" Value="Public Class ToolTipService" />
<TypeSignature Language="C++ CLI" Value="public ref class ToolTipService abstract sealed" />
<TypeSignature Language="F#" Value="type ToolTipService = class" />
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Represents a service that provides properties and events to control the display and behavior of tooltips.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You define a tooltip for an element by setting the <xref:System.Windows.FrameworkContentElement.ToolTip%2A?displayProperty=nameWithType> or <xref:System.Windows.FrameworkElement.ToolTip%2A?displayProperty=nameWithType> property. The ToolTip property takes one child. The content of the child can vary from a simple text string to more complex content such as a <xref:System.Windows.Controls.StackPanel> that has embedded text and <xref:System.Windows.Controls.Image> elements.
You can define tooltip content as a <xref:System.Windows.Controls.ToolTip> object, but this is not required. When you do not define the tooltip content as a <xref:System.Windows.Controls.ToolTip> object, you can use the <xref:System.Windows.Controls.ToolTipService> properties to position and customize the tooltip content. Attached properties of the <xref:System.Windows.Controls.ToolTipService> class are used to determine the placement, behavior, and appearance of a tooltip. These properties are set on the element that defines the tooltip.
The <xref:System.Windows.Controls.ToolTip> class and the <xref:System.Windows.Controls.ToolTipService> class share many of the same properties that are used to customize a tooltip. If equivalent <xref:System.Windows.Controls.ToolTip> and <xref:System.Windows.Controls.ToolTipService> properties are both set, the <xref:System.Windows.Controls.ToolTipService> property takes precedence. For example, if both the <xref:System.Windows.Controls.ToolTip.Placement%2A?displayProperty=nameWithType> property and the <xref:System.Windows.Controls.ToolTipService.Placement%2A?displayProperty=nameWithType> property are set for a <xref:System.Windows.Controls.ToolTip?displayProperty=nameWithType> object, the value of the <xref:System.Windows.Controls.ToolTipService.Placement%2A?displayProperty=nameWithType> property is used.
The following <xref:System.Windows.Controls.ToolTipService> timing properties are only defined for the <xref:System.Windows.Controls.ToolTipService> class and are used by all tooltips:
- <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A>
- <xref:System.Windows.Controls.ToolTipService.ShowDuration%2A>
- <xref:System.Windows.Controls.ToolTipService.BetweenShowDelay%2A>
For information about how to handle the events that occur when the tooltip opens or closes, see the <xref:System.Windows.Controls.ToolTipService.ToolTipOpeningEvent> and <xref:System.Windows.Controls.ToolTipService.ToolTipClosingEvent> fields.
<xref:System.Windows.Controls.ToolTipService.Placement%2A>, <xref:System.Windows.Controls.ToolTipService.PlacementRectangle%2A>, <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A>, <xref:System.Windows.Controls.ToolTipService.HorizontalOffset%2A>, and <xref:System.Windows.Controls.ToolTipService.VerticalOffset%2A> behave similarly to the properties of the same name in the <xref:System.Windows.Controls.Primitives.Popup> class. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
## Examples
The following example shows how the use the <xref:System.Windows.Controls.ToolTipService> class to specify the behavior of a tooltip. You set the properties of the <xref:System.Windows.Controls.ToolTipService> class by attaching them directly to the element that exposes the tooltip.
[!code-xaml[ToolTipService#NoToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml#notooltip)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.ToolTip" />
<altmember cref="T:System.Windows.Controls.ToolTipEventHandler" />
<altmember cref="T:System.Windows.Controls.ToolTipEventArgs" />
</Docs>
<Members>
<Member MemberName="AddToolTipClosingHandler">
<MemberSignature Language="C#" Value="public static void AddToolTipClosingHandler (System.Windows.DependencyObject element, System.Windows.Controls.ToolTipEventHandler handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddToolTipClosingHandler(class System.Windows.DependencyObject element, class System.Windows.Controls.ToolTipEventHandler handler) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.AddToolTipClosingHandler(System.Windows.DependencyObject,System.Windows.Controls.ToolTipEventHandler)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub AddToolTipClosingHandler (element As DependencyObject, handler As ToolTipEventHandler)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void AddToolTipClosingHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ToolTipEventHandler ^ handler);" />
<MemberSignature Language="F#" Value="static member AddToolTipClosingHandler : System.Windows.DependencyObject * System.Windows.Controls.ToolTipEventHandler -&gt; unit" Usage="System.Windows.Controls.ToolTipService.AddToolTipClosingHandler (element, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="handler" Type="System.Windows.Controls.ToolTipEventHandler" Index="1" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="element">The <see cref="T:System.Windows.UIElement" /> or <see cref="T:System.Windows.ContentElement" /> that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
<summary>Adds a handler for the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipClosing" /> attached event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddToolTipOpeningHandler">
<MemberSignature Language="C#" Value="public static void AddToolTipOpeningHandler (System.Windows.DependencyObject element, System.Windows.Controls.ToolTipEventHandler handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void AddToolTipOpeningHandler(class System.Windows.DependencyObject element, class System.Windows.Controls.ToolTipEventHandler handler) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.AddToolTipOpeningHandler(System.Windows.DependencyObject,System.Windows.Controls.ToolTipEventHandler)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub AddToolTipOpeningHandler (element As DependencyObject, handler As ToolTipEventHandler)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void AddToolTipOpeningHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ToolTipEventHandler ^ handler);" />
<MemberSignature Language="F#" Value="static member AddToolTipOpeningHandler : System.Windows.DependencyObject * System.Windows.Controls.ToolTipEventHandler -&gt; unit" Usage="System.Windows.Controls.ToolTipService.AddToolTipOpeningHandler (element, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="handler" Type="System.Windows.Controls.ToolTipEventHandler" Index="1" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="element">The <see cref="T:System.Windows.UIElement" /> or <see cref="T:System.Windows.ContentElement" /> that listens to this event.</param>
<param name="handler">The event handler to be added.</param>
<summary>Adds a handler for the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipOpening" /> attached event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="BetweenShowDelay">
<MemberSignature Language="C#" Value="see GetBetweenShowDelay, and SetBetweenShowDelay" />
<MemberSignature Language="ILAsm" Value="see GetBetweenShowDelay, and SetBetweenShowDelay" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" />
<MemberSignature Language="VB.NET" Value="see GetBetweenShowDelay, and SetBetweenShowDelay" />
<MemberSignature Language="F#" Value="see GetBetweenShowDelay, and SetBetweenShowDelay" Usage="see GetBetweenShowDelay, and SetBetweenShowDelay" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the maximum time between the display of two tooltips where the second tooltip appears without a delay.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Typically, when a user moves the mouse pointer over an object that has a tooltip, there is a delay before the tooltip is displayed. This delay is equal to the value of the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> property. However, after a tooltip is displayed there is a period of time during which another tooltip can be displayed without waiting for the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> time to pass. You specify this time period by using the <xref:System.Windows.Controls.ToolTipService.BetweenShowDelay%2A> property. When the user moves the mouse within this time period from one element that has a visible tooltip to another element that has a tooltip, the value of the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> property for the second tooltip is not applied and the second tooltip appears immediately.
For information about how to get or set this property, see the <xref:System.Windows.Controls.ToolTipService.GetBetweenShowDelay%2A> and <xref:System.Windows.Controls.ToolTipService.SetBetweenShowDelay%2A> methods.
<a name="dependencyPropertyInfo_BetweenShowDelay"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.BetweenShowDelayProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">The value of the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> property is less than zero (0).</exception>
<altmember cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetBetweenShowDelay(System.Windows.DependencyObject,System.Int32)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetBetweenShowDelay(System.Windows.DependencyObject)" />
</Docs>
</Member>
<Member MemberName="BetweenShowDelayProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty BetweenShowDelayProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty BetweenShowDelayProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.BetweenShowDelayProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly BetweenShowDelayProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ BetweenShowDelayProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable BetweenShowDelayProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.BetweenShowDelayProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetBetweenShowDelay">
<MemberSignature Language="C#" Value="public static int GetBetweenShowDelay (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 GetBetweenShowDelay(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetBetweenShowDelay(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetBetweenShowDelay (element As DependencyObject) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static int GetBetweenShowDelay(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetBetweenShowDelay : System.Windows.DependencyObject -&gt; int" Usage="System.Windows.Controls.ToolTipService.GetBetweenShowDelay element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.BetweenShowDelay` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetBetweenShowDelay](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getbetweenshowdelay)]
[!code-vb[ToolTipService#GetBetweenShowDelay](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getbetweenshowdelay)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetBetweenShowDelay(System.Windows.DependencyObject,System.Int32)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" />
</Docs>
</Member>
<Member MemberName="GetHasDropShadow">
<MemberSignature Language="C#" Value="public static bool GetHasDropShadow (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetHasDropShadow(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetHasDropShadow(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetHasDropShadow (element As DependencyObject) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool GetHasDropShadow(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetHasDropShadow : System.Windows.DependencyObject -&gt; bool" Usage="System.Windows.Controls.ToolTipService.GetHasDropShadow element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.HasDropShadow` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetHasDropShadow](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#gethasdropshadow)]
[!code-vb[ToolTipService#GetHasDropShadow](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#gethasdropshadow)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetHasDropShadow(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" />
</Docs>
</Member>
<Member MemberName="GetHorizontalOffset">
<MemberSignature Language="C#" Value="public static double GetHorizontalOffset (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 GetHorizontalOffset(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetHorizontalOffset(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetHorizontalOffset (element As DependencyObject) As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static double GetHorizontalOffset(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetHorizontalOffset : System.Windows.DependencyObject -&gt; double" Usage="System.Windows.Controls.ToolTipService.GetHorizontalOffset element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.HorizontalOffset` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetHorizontalOffset](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#gethorizontaloffset)]
[!code-vb[ToolTipService#GetHorizontalOffset](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#gethorizontaloffset)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetHorizontalOffset(System.Windows.DependencyObject,System.Double)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" />
</Docs>
</Member>
<Member MemberName="GetInitialShowDelay">
<MemberSignature Language="C#" Value="public static int GetInitialShowDelay (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 GetInitialShowDelay(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetInitialShowDelay(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetInitialShowDelay (element As DependencyObject) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static int GetInitialShowDelay(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetInitialShowDelay : System.Windows.DependencyObject -&gt; int" Usage="System.Windows.Controls.ToolTipService.GetInitialShowDelay element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.InitialShowDelay` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetInitialShowDelay](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getinitialshowdelay)]
[!code-vb[ToolTipService#GetInitialShowDelay](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getinitialshowdelay)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetInitialShowDelay(System.Windows.DependencyObject,System.Int32)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" />
</Docs>
</Member>
<Member MemberName="GetIsEnabled">
<MemberSignature Language="C#" Value="public static bool GetIsEnabled (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetIsEnabled(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetIsEnabled(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetIsEnabled (element As DependencyObject) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool GetIsEnabled(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetIsEnabled : System.Windows.DependencyObject -&gt; bool" Usage="System.Windows.Controls.ToolTipService.GetIsEnabled element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.IsEnabled" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.IsEnabled" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.IsEnabled` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetIsEnabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getisenabled)]
[!code-vb[ToolTipService#GetIsEnabled](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getisenabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetIsEnabled(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.IsEnabled" />
</Docs>
</Member>
<Member MemberName="GetIsOpen">
<MemberSignature Language="C#" Value="public static bool GetIsOpen (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetIsOpen(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetIsOpen(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetIsOpen (element As DependencyObject) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool GetIsOpen(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetIsOpen : System.Windows.DependencyObject -&gt; bool" Usage="System.Windows.Controls.ToolTipService.GetIsOpen element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.IsOpen" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.IsOpen" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.IsOpen` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetIsOpen](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getisopen)]
[!code-vb[ToolTipService#GetIsOpen](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getisopen)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.ToolTipService.IsOpen" />
</Docs>
</Member>
<Member MemberName="GetPlacement">
<MemberSignature Language="C#" Value="public static System.Windows.Controls.Primitives.PlacementMode GetPlacement (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Controls.Primitives.PlacementMode GetPlacement(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetPlacement(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetPlacement (element As DependencyObject) As PlacementMode" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Controls::Primitives::PlacementMode GetPlacement(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetPlacement : System.Windows.DependencyObject -&gt; System.Windows.Controls.Primitives.PlacementMode" Usage="System.Windows.Controls.ToolTipService.GetPlacement element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Controls.Primitives.PlacementMode</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.Placement" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.Placement" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.Placement` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetPlacement](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getplacement)]
[!code-vb[ToolTipService#GetPlacement](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getplacement)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacement(System.Windows.DependencyObject,System.Windows.Controls.Primitives.PlacementMode)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.Placement" />
</Docs>
</Member>
<Member MemberName="GetPlacementRectangle">
<MemberSignature Language="C#" Value="public static System.Windows.Rect GetPlacementRectangle (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.Windows.Rect GetPlacementRectangle(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetPlacementRectangle(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetPlacementRectangle (element As DependencyObject) As Rect" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::Rect GetPlacementRectangle(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetPlacementRectangle : System.Windows.DependencyObject -&gt; System.Windows.Rect" Usage="System.Windows.Controls.ToolTipService.GetPlacementRectangle element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.Rect</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.PlacementRectangle` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetPlacementRectangle](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getplacementrectangle)]
[!code-vb[ToolTipService#GetPlacementRectangle](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getplacementrectangle)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacementRectangle(System.Windows.DependencyObject,System.Windows.Rect)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" />
</Docs>
</Member>
<Member MemberName="GetPlacementTarget">
<MemberSignature Language="C#" Value="public static System.Windows.UIElement GetPlacementTarget (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Windows.UIElement GetPlacementTarget(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetPlacementTarget(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetPlacementTarget (element As DependencyObject) As UIElement" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Windows::UIElement ^ GetPlacementTarget(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetPlacementTarget : System.Windows.DependencyObject -&gt; System.Windows.UIElement" Usage="System.Windows.Controls.ToolTipService.GetPlacementTarget element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Windows.UIElement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.PlacementTarget` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetPlacementTarget](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getplacementtarget)]
[!code-vb[ToolTipService#GetPlacementTarget](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getplacementtarget)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacementTarget(System.Windows.DependencyObject,System.Windows.UIElement)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" />
</Docs>
</Member>
<Member MemberName="GetShowDuration">
<MemberSignature Language="C#" Value="public static int GetShowDuration (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig int32 GetShowDuration(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetShowDuration(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetShowDuration (element As DependencyObject) As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static int GetShowDuration(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetShowDuration : System.Windows.DependencyObject -&gt; int" Usage="System.Windows.Controls.ToolTipService.GetShowDuration element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ShowDuration" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.ShowDuration" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.ShowDuration` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetShowDuration](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getshowduration)]
[!code-vb[ToolTipService#GetShowDuration](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getshowduration)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetShowDuration(System.Windows.DependencyObject,System.Int32)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ShowDuration" />
</Docs>
</Member>
<Member MemberName="GetShowOnDisabled">
<MemberSignature Language="C#" Value="public static bool GetShowOnDisabled (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool GetShowOnDisabled(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetShowOnDisabled(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetShowOnDisabled (element As DependencyObject) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static bool GetShowOnDisabled(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetShowOnDisabled : System.Windows.DependencyObject -&gt; bool" Usage="System.Windows.Controls.ToolTipService.GetShowOnDisabled element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.ShowOnDisabledProperty` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetShowOnDisabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getshowondisabled)]
[!code-vb[ToolTipService#GetShowOnDisabled](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getshowondisabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetShowOnDisabled(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" />
</Docs>
</Member>
<Member MemberName="GetToolTip">
<MemberSignature Language="C#" Value="public static object GetToolTip (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object GetToolTip(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetToolTip(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetToolTip (element As DependencyObject) As Object" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Object ^ GetToolTip(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetToolTip : System.Windows.DependencyObject -&gt; obj" Usage="System.Windows.Controls.ToolTipService.GetToolTip element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ToolTip" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.ToolTip" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.ToolTipProperty` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#gettooltip)]
[!code-vb[ToolTipService#GetToolTip](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#gettooltip)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetToolTip(System.Windows.DependencyObject,System.Object)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ToolTip" />
</Docs>
</Member>
<Member MemberName="GetVerticalOffset">
<MemberSignature Language="C#" Value="public static double GetVerticalOffset (System.Windows.DependencyObject element);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig float64 GetVerticalOffset(class System.Windows.DependencyObject element) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.GetVerticalOffset(System.Windows.DependencyObject)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetVerticalOffset (element As DependencyObject) As Double" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static double GetVerticalOffset(System::Windows::DependencyObject ^ element);" />
<MemberSignature Language="F#" Value="static member GetVerticalOffset : System.Windows.DependencyObject -&gt; double" Usage="System.Windows.Controls.ToolTipService.GetVerticalOffset element" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
</Parameters>
<Docs>
<param name="element">The object from which the property value is read.</param>
<summary>Gets the value of the <see cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" /> attached property for an object.</summary>
<returns>The object's <see cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" /> property value.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to get the value for the `ToolTipService.VerticalOffset` attached property. The <xref:System.Windows.FrameworkElement.FindName%2A> method finds the object called `ellipse2`, which is an <xref:System.Windows.Shapes.Ellipse>.
[!code-csharp[ToolTipService#GetVerticalOffset](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#getverticaloffset)]
[!code-vb[ToolTipService#GetVerticalOffset](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#getverticaloffset)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetVerticalOffset(System.Windows.DependencyObject,System.Double)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" />
</Docs>
</Member>
<Member MemberName="HasDropShadow">
<MemberSignature Language="C#" Value="see GetHasDropShadow, and SetHasDropShadow" />
<MemberSignature Language="ILAsm" Value="see GetHasDropShadow, and SetHasDropShadow" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.HasDropShadow" />
<MemberSignature Language="VB.NET" Value="see GetHasDropShadow, and SetHasDropShadow" />
<MemberSignature Language="F#" Value="see GetHasDropShadow, and SetHasDropShadow" Usage="see GetHasDropShadow, and SetHasDropShadow" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets whether the tooltip displays a drop shadow effect.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The default style for a tooltip control adds a drop shadow effect. If you do not explicitly set the <xref:System.Windows.Controls.ToolTipService.HasDropShadow%2A> property, the property value is `false` until the first time the tooltip is displayed. The default tooltip style is applied when a tooltip is displayed and the style sets the <xref:System.Windows.Controls.ToolTipService.HasDropShadow%2A> property to `true`.
If the tooltip is a <xref:System.Windows.Controls.ToolTip?displayProperty=nameWithType> object and both the <xref:System.Windows.Controls.ToolTip.HasDropShadow%2A?displayProperty=nameWithType> property and the <xref:System.Windows.Controls.ToolTipService.HasDropShadow%2A?displayProperty=nameWithType> property are specified, the value of the <xref:System.Windows.Controls.ToolTipService.HasDropShadow%2A?displayProperty=nameWithType> property is used.
For information about how to get or set this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetHasDropShadow%2A> and <xref:System.Windows.Controls.ToolTipService.SetHasDropShadow%2A> methods.
<a name="dependencyPropertyInfo_HasDropShadow"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.HasDropShadowProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to set the <xref:System.Windows.Controls.ToolTipService.HasDropShadow%2A> attached property of the <xref:System.Windows.Controls.ToolTipService> class.
[!code-xml[ToolTipService#NoToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml#notooltip)]
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.ToolTip.HasDropShadow" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetHasDropShadow(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetHasDropShadow(System.Windows.DependencyObject)" />
</Docs>
</Member>
<Member MemberName="HasDropShadowProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HasDropShadowProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HasDropShadowProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.HasDropShadowProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HasDropShadowProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HasDropShadowProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HasDropShadowProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.HasDropShadowProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="HorizontalOffset">
<MemberSignature Language="C#" Value="see GetHorizontalOffset, and SetHorizontalOffset" />
<MemberSignature Language="ILAsm" Value="see GetHorizontalOffset, and SetHorizontalOffset" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.HorizontalOffset" />
<MemberSignature Language="VB.NET" Value="see GetHorizontalOffset, and SetHorizontalOffset" />
<MemberSignature Language="F#" Value="see GetHorizontalOffset, and SetHorizontalOffset" Usage="see GetHorizontalOffset, and SetHorizontalOffset" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the offset from the left of the area that is specified for the tooltip by the <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> and <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> properties.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.ToolTipService.HorizontalOffset%2A> property and the <xref:System.Windows.Controls.ToolTipService.VerticalOffset%2A> property values provide additional adjustment to the position of a tooltip that is defined by the <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A> property and the <xref:System.Windows.Controls.ToolTipService.PlacementRectangle%2A> property values.
<xref:System.Windows.Controls.ToolTipService.HorizontalOffset%2A> behaves similarly to the <xref:System.Windows.Controls.Primitives.Popup.HorizontalOffset%2A?displayProperty=nameWithType> property. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
<a name="xamlAttributeUsage_HorizontalOffset"></a>
## XAML Attribute Usage
```
<object HorizontalOffset="double"/>
- or -
<object HorizontalOffset="qualifiedDouble"/>
```
<a name="xamlValues_HorizontalOffset"></a>
## XAML Values
`double`
<xref:System.Double>
A string representation of a <xref:System.Double> value that is equal to or greater than 0.0 but that is smaller than <xref:System.Double.PositiveInfinity?displayProperty=nameWithType>. This is interpreted as a device-independent unit (1/96th of an inch per unit) measurement. Strings do not have to explicitly include decimal points.
`qualifiedDouble`
A <xref:System.Double> value that is followed by one of these unit declaration strings: `px`, `in`, `cm`, `pt`.
`px` (default) is [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)]
`in` is inches; 1in==96px
`cm` is centimeters; 1cm==(96/2.54) px
`pt` is points; 1pt==(96/72) px
For information about how to get or set this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetHorizontalOffset%2A> and <xref:System.Windows.Controls.ToolTipService.SetHorizontalOffset%2A> methods.
<a name="dependencyPropertyInfo_HorizontalOffset"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.HorizontalOffsetProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetHorizontalOffset(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetHorizontalOffset(System.Windows.DependencyObject,System.Double)" />
</Docs>
</Member>
<Member MemberName="HorizontalOffsetProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty HorizontalOffsetProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty HorizontalOffsetProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.HorizontalOffsetProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly HorizontalOffsetProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ HorizontalOffsetProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable HorizontalOffsetProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.HorizontalOffsetProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="InitialShowDelay">
<MemberSignature Language="C#" Value="see GetInitialShowDelay, and SetInitialShowDelay" />
<MemberSignature Language="ILAsm" Value="see GetInitialShowDelay, and SetInitialShowDelay" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.InitialShowDelay" />
<MemberSignature Language="VB.NET" Value="see GetInitialShowDelay, and SetInitialShowDelay" />
<MemberSignature Language="F#" Value="see GetInitialShowDelay, and SetInitialShowDelay" Usage="see GetInitialShowDelay, and SetInitialShowDelay" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the length of time before a tooltip opens.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Typically, when a user moves the mouse pointer over an object that has a tooltip, there is a delay before the tooltip is displayed. This delay is equal to the value of the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> property. However, after a tooltip is displayed there is a period of time during which another tooltip can be displayed without waiting for the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> time to pass. You specify this time period by using the <xref:System.Windows.Controls.ToolTipService.BetweenShowDelay%2A> property. When the user moves the mouse within this time period from one element that has a visible tooltip to another element that has a tooltip, the value of the <xref:System.Windows.Controls.ToolTipService.InitialShowDelay%2A> property for the second tooltip is not applied and the second tooltip appears immediately.
For information about how to get or set this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetInitialShowDelay%2A> and <xref:System.Windows.Controls.ToolTipService.SetInitialShowDelay%2A> methods.
<a name="dependencyPropertyInfo_InitialShowDelay"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.InitialShowDelayProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to set the <xref:System.Windows.Controls.ToolTipService> timing properties.
[!code-xml[ToolTipService#NoToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml#notooltip)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">The value of the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> property is less than zero (0).</exception>
<altmember cref="P:System.Windows.Controls.ToolTipService.ShowDuration" />
<altmember cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetInitialShowDelay(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetInitialShowDelay(System.Windows.DependencyObject,System.Int32)" />
</Docs>
</Member>
<Member MemberName="InitialShowDelayProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty InitialShowDelayProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty InitialShowDelayProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.InitialShowDelayProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly InitialShowDelayProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ InitialShowDelayProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable InitialShowDelayProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.InitialShowDelayProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsEnabled">
<MemberSignature Language="C#" Value="see GetIsEnabled, and SetIsEnabled" />
<MemberSignature Language="ILAsm" Value="see GetIsEnabled, and SetIsEnabled" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.IsEnabled" />
<MemberSignature Language="VB.NET" Value="see GetIsEnabled, and SetIsEnabled" />
<MemberSignature Language="F#" Value="see GetIsEnabled, and SetIsEnabled" Usage="see GetIsEnabled, and SetIsEnabled" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets whether a tooltip appears.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To determine whether a tooltip is currently visible, use the <xref:System.Windows.Controls.ToolTipService.IsOpen%2A> property.
For information about how to get or set this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetIsEnabled%2A> and <xref:System.Windows.Controls.ToolTipService.SetIsEnabled%2A> methods.
<a name="dependencyPropertyInfo_IsEnabled"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.IsEnabledProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to set the <xref:System.Windows.Controls.ToolTipService.IsEnabled%2A> property.
[!code-xml[ToolTipService#NoToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml#notooltip)]
[!code-csharp[ToolTipService#SetIsEnabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setisenabled)]
[!code-vb[ToolTipService#SetIsEnabled](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setisenabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetIsEnabled(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetIsEnabled(System.Windows.DependencyObject,System.Boolean)" />
</Docs>
</Member>
<Member MemberName="IsEnabledProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsEnabledProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsEnabledProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.IsEnabledProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsEnabledProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsEnabledProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsEnabledProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.IsEnabledProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.IsEnabled" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsOpen">
<MemberSignature Language="C#" Value="see GetIsOpen" />
<MemberSignature Language="ILAsm" Value="see GetIsOpen" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.IsOpen" />
<MemberSignature Language="VB.NET" Value="see GetIsOpen" />
<MemberSignature Language="F#" Value="see GetIsOpen" Usage="see GetIsOpen" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets whether a tooltip is currently visible.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
To determine whether a tooltip can appear, check the value of the <xref:System.Windows.Controls.ToolTipService.IsEnabled> property.
This is an attached property. For information about how to get the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetIsOpen%2A> method.
]]></format>
</remarks>
<altmember cref="P:System.Windows.Controls.ToolTipService.IsEnabled" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetIsOpen(System.Windows.DependencyObject)" />
</Docs>
</Member>
<Member MemberName="IsOpenProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty IsOpenProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty IsOpenProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.IsOpenProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly IsOpenProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ IsOpenProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable IsOpenProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.IsOpenProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.IsOpen" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Placement">
<MemberSignature Language="C#" Value="see GetPlacement, and SetPlacement" />
<MemberSignature Language="ILAsm" Value="see GetPlacement, and SetPlacement" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.Placement" />
<MemberSignature Language="VB.NET" Value="see GetPlacement, and SetPlacement" />
<MemberSignature Language="F#" Value="see GetPlacement, and SetPlacement" Usage="see GetPlacement, and SetPlacement" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the orientation of the tooltip when it opens, and specifies how the tooltip behaves when it overlaps screen boundaries.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetPlacement%2A> and <xref:System.Windows.Controls.ToolTipService.SetPlacement%2A> methods.
<xref:System.Windows.Controls.ToolTipService.Placement%2A> behaves similarly to the <xref:System.Windows.Controls.Primitives.Popup.Placement%2A?displayProperty=nameWithType> property. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
<a name="dependencyPropertyInfo_Placement"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.PlacementProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacement(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacement(System.Windows.DependencyObject,System.Windows.Controls.Primitives.PlacementMode)" />
</Docs>
</Member>
<Member MemberName="PlacementProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PlacementProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PlacementProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.PlacementProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PlacementProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PlacementProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable PlacementProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.PlacementProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.Placement" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlacementRectangle">
<MemberSignature Language="C#" Value="see GetPlacementRectangle, and SetPlacementRectangle" />
<MemberSignature Language="ILAsm" Value="see GetPlacementRectangle, and SetPlacementRectangle" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.PlacementRectangle" />
<MemberSignature Language="VB.NET" Value="see GetPlacementRectangle, and SetPlacementRectangle" />
<MemberSignature Language="F#" Value="see GetPlacementRectangle, and SetPlacementRectangle" Usage="see GetPlacementRectangle, and SetPlacementRectangle" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the rectangular area relative to which the tooltip is positioned.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.ToolTip.PlacementRectangle%2A> property specifies a <xref:System.Windows.Rect> structure relative to which the <xref:System.Windows.Controls.ToolTip> control is positioned when it opens. If <xref:System.Windows.Controls.ToolTip.PlacementTarget%2A> is not `null`, the <xref:System.Windows.Rect> structure is defined relative to the <xref:System.Windows.Controls.Primitives.Popup.PlacementTarget%2A> object. Otherwise, the specified <xref:System.Windows.Rect> structure is defined relative to the upper-left corner of the screen.
If the <xref:System.Windows.Controls.ToolTipService.Placement%2A> property is set to <xref:System.Windows.Controls.Primitives.PlacementMode.Mouse>, the tooltip is displayed relative to the location of the mouse, and the value of the <xref:System.Windows.Controls.ToolTipService.PlacementRectangle%2A> property has no effect.
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetPlacementRectangle%2A> and <xref:System.Windows.Controls.ToolTipService.SetPlacementRectangle%2A> methods.
<xref:System.Windows.Controls.ToolTipService.PlacementRectangle%2A> behaves similarly to the <xref:System.Windows.Controls.Primitives.Popup.PlacementRectangle%2A?displayProperty=nameWithType> property. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
<a name="dependencyPropertyInfo_PlacementRectangle"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.PlacementRectangleProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacementRectangle(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacementRectangle(System.Windows.DependencyObject,System.Windows.Rect)" />
</Docs>
</Member>
<Member MemberName="PlacementRectangleProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PlacementRectangleProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PlacementRectangleProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.PlacementRectangleProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PlacementRectangleProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PlacementRectangleProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable PlacementRectangleProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.PlacementRectangleProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PlacementTarget">
<MemberSignature Language="C#" Value="see GetPlacementTarget, and SetPlacementTarget" />
<MemberSignature Language="ILAsm" Value="see GetPlacementTarget, and SetPlacementTarget" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.PlacementTarget" />
<MemberSignature Language="VB.NET" Value="see GetPlacementTarget, and SetPlacementTarget" />
<MemberSignature Language="F#" Value="see GetPlacementTarget, and SetPlacementTarget" Usage="see GetPlacementTarget, and SetPlacementTarget" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the object relative to which the tooltip is positioned.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A> does not have to be the object on which the tooltip is defined. For example, a <xref:System.Windows.Controls.TextBlock> that describes an <xref:System.Windows.Controls.Image> could specify its tooltip to appear over the <xref:System.Windows.Controls.Image> when the user pauses the mouse pointer on the <xref:System.Windows.Controls.TextBlock>.
If you do not specify a <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A> and the tooltip has a visual parent, the visual parent acts as the <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A>. If the tooltip does not have a visual parent and the value of the <xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A> property is `null`, the tooltip control is positioned relative to the upper-left corner of the screen.
This property is an attached property. For information about how to get or set this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetPlacementTarget%2A> and <xref:System.Windows.Controls.ToolTipService.SetPlacementTarget%2A> methods.
<xref:System.Windows.Controls.ToolTipService.PlacementTarget%2A> behaves similarly to the <xref:System.Windows.Controls.Primitives.Popup.PlacementTarget%2A?displayProperty=nameWithType> property. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
<a name="dependencyPropertyInfo_PlacementTarget"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.PlacementTargetProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacementTarget(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetPlacementTarget(System.Windows.DependencyObject,System.Windows.UIElement)" />
</Docs>
</Member>
<Member MemberName="PlacementTargetProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty PlacementTargetProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty PlacementTargetProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.PlacementTargetProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly PlacementTargetProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ PlacementTargetProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable PlacementTargetProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.PlacementTargetProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveToolTipClosingHandler">
<MemberSignature Language="C#" Value="public static void RemoveToolTipClosingHandler (System.Windows.DependencyObject element, System.Windows.Controls.ToolTipEventHandler handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void RemoveToolTipClosingHandler(class System.Windows.DependencyObject element, class System.Windows.Controls.ToolTipEventHandler handler) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.RemoveToolTipClosingHandler(System.Windows.DependencyObject,System.Windows.Controls.ToolTipEventHandler)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub RemoveToolTipClosingHandler (element As DependencyObject, handler As ToolTipEventHandler)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void RemoveToolTipClosingHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ToolTipEventHandler ^ handler);" />
<MemberSignature Language="F#" Value="static member RemoveToolTipClosingHandler : System.Windows.DependencyObject * System.Windows.Controls.ToolTipEventHandler -&gt; unit" Usage="System.Windows.Controls.ToolTipService.RemoveToolTipClosingHandler (element, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="handler" Type="System.Windows.Controls.ToolTipEventHandler" Index="1" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="element">The <see cref="T:System.Windows.UIElement" /> or <see cref="T:System.Windows.ContentElement" /> that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
<summary>Removes a handler for the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipClosing" /> attached event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveToolTipOpeningHandler">
<MemberSignature Language="C#" Value="public static void RemoveToolTipOpeningHandler (System.Windows.DependencyObject element, System.Windows.Controls.ToolTipEventHandler handler);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void RemoveToolTipOpeningHandler(class System.Windows.DependencyObject element, class System.Windows.Controls.ToolTipEventHandler handler) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.RemoveToolTipOpeningHandler(System.Windows.DependencyObject,System.Windows.Controls.ToolTipEventHandler)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub RemoveToolTipOpeningHandler (element As DependencyObject, handler As ToolTipEventHandler)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void RemoveToolTipOpeningHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ToolTipEventHandler ^ handler);" />
<MemberSignature Language="F#" Value="static member RemoveToolTipOpeningHandler : System.Windows.DependencyObject * System.Windows.Controls.ToolTipEventHandler -&gt; unit" Usage="System.Windows.Controls.ToolTipService.RemoveToolTipOpeningHandler (element, handler)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" Index="0" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
<Parameter Name="handler" Type="System.Windows.Controls.ToolTipEventHandler" Index="1" FrameworkAlternate="netcore-3.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8" />
</Parameters>
<Docs>
<param name="element">The <see cref="T:System.Windows.UIElement" /> or <see cref="T:System.Windows.ContentElement" /> that listens to this event.</param>
<param name="handler">The event handler to be removed.</param>
<summary>Removes a handler for the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipOpening" /> attached event.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetBetweenShowDelay">
<MemberSignature Language="C#" Value="public static void SetBetweenShowDelay (System.Windows.DependencyObject element, int value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetBetweenShowDelay(class System.Windows.DependencyObject element, int32 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetBetweenShowDelay(System.Windows.DependencyObject,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetBetweenShowDelay (element As DependencyObject, value As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetBetweenShowDelay(System::Windows::DependencyObject ^ element, int value);" />
<MemberSignature Language="F#" Value="static member SetBetweenShowDelay : System.Windows.DependencyObject * int -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetBetweenShowDelay (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.BetweenShowDelay` attached property.
[!code-csharp[ToolTipService#SetBetweenShowDelay](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setbetweenshowdelay)]
[!code-vb[ToolTipService#SetBetweenShowDelay](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setbetweenshowdelay)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetBetweenShowDelay(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" />
</Docs>
</Member>
<Member MemberName="SetHasDropShadow">
<MemberSignature Language="C#" Value="public static void SetHasDropShadow (System.Windows.DependencyObject element, bool value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetHasDropShadow(class System.Windows.DependencyObject element, bool value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetHasDropShadow(System.Windows.DependencyObject,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetHasDropShadow (element As DependencyObject, value As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetHasDropShadow(System::Windows::DependencyObject ^ element, bool value);" />
<MemberSignature Language="F#" Value="static member SetHasDropShadow : System.Windows.DependencyObject * bool -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetHasDropShadow (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.HasDropShadow` attached property.
[!code-csharp[ToolTipService#SetHasDropShadow](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#sethasdropshadow)]
[!code-vb[ToolTipService#SetHasDropShadow](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#sethasdropshadow)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetHasDropShadow(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.HasDropShadow" />
</Docs>
</Member>
<Member MemberName="SetHorizontalOffset">
<MemberSignature Language="C#" Value="public static void SetHorizontalOffset (System.Windows.DependencyObject element, double value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetHorizontalOffset(class System.Windows.DependencyObject element, float64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetHorizontalOffset(System.Windows.DependencyObject,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetHorizontalOffset (element As DependencyObject, value As Double)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetHorizontalOffset(System::Windows::DependencyObject ^ element, double value);" />
<MemberSignature Language="F#" Value="static member SetHorizontalOffset : System.Windows.DependencyObject * double -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetHorizontalOffset (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Double" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.HorizontalOffset` attached property.
[!code-csharp[ToolTipService#SetHorizontalOffset](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#sethorizontaloffset)]
[!code-vb[ToolTipService#SetHorizontalOffset](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#sethorizontaloffset)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetHorizontalOffset(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.HorizontalOffset" />
</Docs>
</Member>
<Member MemberName="SetInitialShowDelay">
<MemberSignature Language="C#" Value="public static void SetInitialShowDelay (System.Windows.DependencyObject element, int value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetInitialShowDelay(class System.Windows.DependencyObject element, int32 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetInitialShowDelay(System.Windows.DependencyObject,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetInitialShowDelay (element As DependencyObject, value As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetInitialShowDelay(System::Windows::DependencyObject ^ element, int value);" />
<MemberSignature Language="F#" Value="static member SetInitialShowDelay : System.Windows.DependencyObject * int -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetInitialShowDelay (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.InitialShowDelay` attached property.
[!code-csharp[ToolTipService#SetInitialShowDelay](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setinitialshowdelay)]
[!code-vb[ToolTipService#SetInitialShowDelay](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setinitialshowdelay)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetInitialShowDelay(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" />
</Docs>
</Member>
<Member MemberName="SetIsEnabled">
<MemberSignature Language="C#" Value="public static void SetIsEnabled (System.Windows.DependencyObject element, bool value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetIsEnabled(class System.Windows.DependencyObject element, bool value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetIsEnabled(System.Windows.DependencyObject,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetIsEnabled (element As DependencyObject, value As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetIsEnabled(System::Windows::DependencyObject ^ element, bool value);" />
<MemberSignature Language="F#" Value="static member SetIsEnabled : System.Windows.DependencyObject * bool -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetIsEnabled (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.IsEnabled" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.IsEnabled` attached property.
[!code-csharp[ToolTipService#SetIsEnabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setisenabled)]
[!code-vb[ToolTipService#SetIsEnabled](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setisenabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetIsEnabled(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.IsEnabled" />
</Docs>
</Member>
<Member MemberName="SetPlacement">
<MemberSignature Language="C#" Value="public static void SetPlacement (System.Windows.DependencyObject element, System.Windows.Controls.Primitives.PlacementMode value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetPlacement(class System.Windows.DependencyObject element, valuetype System.Windows.Controls.Primitives.PlacementMode value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetPlacement(System.Windows.DependencyObject,System.Windows.Controls.Primitives.PlacementMode)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetPlacement (element As DependencyObject, value As PlacementMode)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetPlacement(System::Windows::DependencyObject ^ element, System::Windows::Controls::Primitives::PlacementMode value);" />
<MemberSignature Language="F#" Value="static member SetPlacement : System.Windows.DependencyObject * System.Windows.Controls.Primitives.PlacementMode -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetPlacement (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Windows.Controls.Primitives.PlacementMode" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.Placement" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.Placement` attached property.
[!code-csharp[ToolTipService#SetPlacement](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setplacement)]
[!code-vb[ToolTipService#SetPlacement](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setplacement)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacement(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.Placement" />
</Docs>
</Member>
<Member MemberName="SetPlacementRectangle">
<MemberSignature Language="C#" Value="public static void SetPlacementRectangle (System.Windows.DependencyObject element, System.Windows.Rect value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetPlacementRectangle(class System.Windows.DependencyObject element, valuetype System.Windows.Rect value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetPlacementRectangle(System.Windows.DependencyObject,System.Windows.Rect)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetPlacementRectangle (element As DependencyObject, value As Rect)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetPlacementRectangle(System::Windows::DependencyObject ^ element, System::Windows::Rect value);" />
<MemberSignature Language="F#" Value="static member SetPlacementRectangle : System.Windows.DependencyObject * System.Windows.Rect -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetPlacementRectangle (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Windows.Rect" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.PlacementRectangle` attached property.
[!code-csharp[ToolTipService#SetPlacementRectangle](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setplacementrectangle)]
[!code-vb[ToolTipService#SetPlacementRectangle](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setplacementrectangle)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacementRectangle(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" />
</Docs>
</Member>
<Member MemberName="SetPlacementTarget">
<MemberSignature Language="C#" Value="public static void SetPlacementTarget (System.Windows.DependencyObject element, System.Windows.UIElement value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetPlacementTarget(class System.Windows.DependencyObject element, class System.Windows.UIElement value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetPlacementTarget(System.Windows.DependencyObject,System.Windows.UIElement)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetPlacementTarget (element As DependencyObject, value As UIElement)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetPlacementTarget(System::Windows::DependencyObject ^ element, System::Windows::UIElement ^ value);" />
<MemberSignature Language="F#" Value="static member SetPlacementTarget : System.Windows.DependencyObject * System.Windows.UIElement -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetPlacementTarget (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Windows.UIElement" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.PlacementTarget` attached property.
[!code-csharp[ToolTipAssign#SetPlacementTarget](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipAssign/CSharp/Pane1.xaml.cs#setplacementtarget)]
[!code-vb[ToolTipAssign#SetPlacementTarget](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipAssign/visualbasic/pane1.xaml.vb#setplacementtarget)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetPlacementTarget(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" />
</Docs>
</Member>
<Member MemberName="SetShowDuration">
<MemberSignature Language="C#" Value="public static void SetShowDuration (System.Windows.DependencyObject element, int value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetShowDuration(class System.Windows.DependencyObject element, int32 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetShowDuration(System.Windows.DependencyObject,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetShowDuration (element As DependencyObject, value As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetShowDuration(System::Windows::DependencyObject ^ element, int value);" />
<MemberSignature Language="F#" Value="static member SetShowDuration : System.Windows.DependencyObject * int -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetShowDuration (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ShowDuration" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.ShowDuration` attached property.
[!code-csharp[ToolTipService#SetShowDuration](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setshowduration)]
[!code-vb[ToolTipService#SetShowDuration](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setshowduration)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetShowDuration(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ShowDuration" />
</Docs>
</Member>
<Member MemberName="SetShowOnDisabled">
<MemberSignature Language="C#" Value="public static void SetShowOnDisabled (System.Windows.DependencyObject element, bool value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetShowOnDisabled(class System.Windows.DependencyObject element, bool value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetShowOnDisabled(System.Windows.DependencyObject,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetShowOnDisabled (element As DependencyObject, value As Boolean)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetShowOnDisabled(System::Windows::DependencyObject ^ element, bool value);" />
<MemberSignature Language="F#" Value="static member SetShowOnDisabled : System.Windows.DependencyObject * bool -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetShowOnDisabled (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.ShowOnDisabled` attached property.
[!code-csharp[ToolTipService#SetShowOnDisabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setshowondisabled)]
[!code-vb[ToolTipService#SetShowOnDisabled](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setshowondisabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetShowOnDisabled(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" />
</Docs>
</Member>
<Member MemberName="SetToolTip">
<MemberSignature Language="C#" Value="public static void SetToolTip (System.Windows.DependencyObject element, object value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetToolTip(class System.Windows.DependencyObject element, object value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetToolTip(System.Windows.DependencyObject,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetToolTip (element As DependencyObject, value As Object)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetToolTip(System::Windows::DependencyObject ^ element, System::Object ^ value);" />
<MemberSignature Language="F#" Value="static member SetToolTip : System.Windows.DependencyObject * obj -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetToolTip (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The value to set.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.ToolTip" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If the value is a <xref:System.Windows.Controls.ToolTip> object, the <xref:System.Windows.Controls.ToolTip> is used without any modification. If the value is any other type, that value is used as the content for a tooltip that is provided by the <xref:System.Windows.Controls.ToolTipService>.
## Examples
The following example shows how to set the value for the `ToolTipService.ToolTip` attached property.
[!code-csharp[ToolTipService#SetToolTip2](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#settooltip2)]
[!code-vb[ToolTipService#SetToolTip2](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#settooltip2)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetToolTip(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.ToolTip" />
</Docs>
</Member>
<Member MemberName="SetVerticalOffset">
<MemberSignature Language="C#" Value="public static void SetVerticalOffset (System.Windows.DependencyObject element, double value);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetVerticalOffset(class System.Windows.DependencyObject element, float64 value) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Controls.ToolTipService.SetVerticalOffset(System.Windows.DependencyObject,System.Double)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetVerticalOffset (element As DependencyObject, value As Double)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static void SetVerticalOffset(System::Windows::DependencyObject ^ element, double value);" />
<MemberSignature Language="F#" Value="static member SetVerticalOffset : System.Windows.DependencyObject * double -&gt; unit" Usage="System.Windows.Controls.ToolTipService.SetVerticalOffset (element, value)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Windows.DependencyObject" />
<Parameter Name="value" Type="System.Double" />
</Parameters>
<Docs>
<param name="element">The object to which the attached property is written.</param>
<param name="value">The desired value.</param>
<summary>Sets the value of the <see cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" /> attached property for an object.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following example shows how to set the value for the `ToolTipService.VerticalOffset` attached property.
[!code-csharp[ToolTipService#SetVerticalOffset](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setverticaloffset)]
[!code-vb[ToolTipService#SetVerticalOffset](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setverticaloffset)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetVerticalOffset(System.Windows.DependencyObject)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" />
</Docs>
</Member>
<Member MemberName="ShowDuration">
<MemberSignature Language="C#" Value="see GetShowDuration, and SetShowDuration" />
<MemberSignature Language="ILAsm" Value="see GetShowDuration, and SetShowDuration" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.ShowDuration" />
<MemberSignature Language="VB.NET" Value="see GetShowDuration, and SetShowDuration" />
<MemberSignature Language="F#" Value="see GetShowDuration, and SetShowDuration" Usage="see GetShowDuration, and SetShowDuration" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the amount of time that a tooltip remains visible.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property defines the time that a tooltip remains visible while the user pauses the mouse pointer over the object that defines the tooltip. If the user moves the mouse pointer off of the object, the tooltip closes.
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetShowDuration%2A> and <xref:System.Windows.Controls.ToolTipService.SetShowDuration%2A> methods.
<a name="dependencyPropertyInfo_ShowDuration"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.ShowDurationProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to set the <xref:System.Windows.Controls.ToolTipService.ShowDuration%2A> property for a tooltip.
[!code-xml[ToolTipService#NoToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml#notooltip)]
[!code-csharp[ToolTipService#SetShowDuration](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#setshowduration)]
[!code-vb[ToolTipService#SetShowDuration](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#setshowduration)]
]]></format>
</remarks>
<exception cref="T:System.ArgumentException">The value of the <see cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" /> property is less than zero (0).</exception>
<altmember cref="P:System.Windows.Controls.ToolTipService.BetweenShowDelay" />
<altmember cref="P:System.Windows.Controls.ToolTipService.InitialShowDelay" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetShowDuration(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetShowDuration(System.Windows.DependencyObject,System.Int32)" />
</Docs>
</Member>
<Member MemberName="ShowDurationProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ShowDurationProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ShowDurationProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.ShowDurationProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ShowDurationProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ShowDurationProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ShowDurationProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.ShowDurationProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.ShowDuration" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShowOnDisabled">
<MemberSignature Language="C#" Value="see GetShowOnDisabled, and SetShowOnDisabled" />
<MemberSignature Language="ILAsm" Value="see GetShowOnDisabled, and SetShowOnDisabled" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" />
<MemberSignature Language="VB.NET" Value="see GetShowOnDisabled, and SetShowOnDisabled" />
<MemberSignature Language="F#" Value="see GetShowOnDisabled, and SetShowOnDisabled" Usage="see GetShowOnDisabled, and SetShowOnDisabled" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets whether a tooltip appears for an object that is not enabled.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetShowOnDisabled%2A> and <xref:System.Windows.Controls.ToolTipService.SetShowOnDisabled%2A> methods.
<a name="dependencyPropertyInfo_ShowOnDisabled"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.ShowOnDisabledProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to set the <xref:System.Windows.Controls.ToolTipService.ShowOnDisabled%2A> property.
[!code-xml[ToolTipSimple#ShowOnDisabled](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipSimple/CSharp/Pane1.xaml#showondisabled)]
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.SetShowOnDisabled(System.Windows.DependencyObject,System.Boolean)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetShowOnDisabled(System.Windows.DependencyObject)" />
</Docs>
</Member>
<Member MemberName="ShowOnDisabledProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ShowOnDisabledProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ShowOnDisabledProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.ShowOnDisabledProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ShowOnDisabledProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ShowOnDisabledProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ShowOnDisabledProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.ShowOnDisabledProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.ShowOnDisabled" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToolTip">
<MemberSignature Language="C#" Value="see GetToolTip, and SetToolTip" />
<MemberSignature Language="ILAsm" Value="see GetToolTip, and SetToolTip" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.ToolTip" />
<MemberSignature Language="VB.NET" Value="see GetToolTip, and SetToolTip" />
<MemberSignature Language="F#" Value="see GetToolTip, and SetToolTip" Usage="see GetToolTip, and SetToolTip" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the content of a tooltip.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Tooltip content can range from a simple text string to more complex objects such as a <xref:System.Windows.Controls.StackPanel> element that has embedded controls and images. However, tooltip content cannot take focus. For example, a <xref:System.Windows.Controls.Button> inside a tooltip cannot receive a <xref:System.Windows.Controls.Primitives.ButtonBase.Click> event.
[!INCLUDE[TLA#tla_winclient](~/includes/tlasharptla-winclient-md.md)] provides a <xref:System.Windows.Controls.ToolTipService.ToolTip%2A> control that defines a tooltip and provides properties that you can use to specify tooltip behavior. However, a tooltip can be any element, such as a <xref:System.Windows.Controls.DockPanel> or an <xref:System.Windows.Controls.Image>.
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetToolTip%2A> and <xref:System.Windows.Controls.ToolTipService.SetToolTip%2A> methods.
The [!INCLUDE[TLA2#tla_xaml](~/includes/tla2sharptla-xaml-md.md)] syntax shown here is appropriate if the object that fills the tooltip is a primitive with native type conversion, such as a string. If the object does not support native type conversion or support its own type converter, you might need to specify a verbose form of attached property syntax as follows:
```
<object>
<ToolTipService.ToolTip>
<objectThatFillsTheToolTip .../>
</ToolTipService.ToolTip>
</object>
```
The placeholder element *objectThatFillsTheToolTip* could also have child elements, if that object permits them. However, the need for this usage should be relatively rare, because most [!INCLUDE[TLA2#tla_xaml](~/includes/tla2sharptla-xaml-md.md)] usages will instead use practical control implementations of the service that are exposed by <xref:System.Windows.Controls.ToolTip>.
<a name="dependencyPropertyInfo_ToolTip"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.ToolTipProperty>|
|Metadata properties set to `true`|None|
## Examples
The following example shows how to specify a tooltip by using the <xref:System.Windows.Controls.ToolTipService>.
[!code-xml[ToolTipAssign#ToolTipServiceToolTip](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipAssign/CSharp/Pane1.xaml#tooltipservicetooltip)]
]]></format>
</remarks>
<altmember cref="T:System.Windows.Controls.ToolTip" />
<altmember cref="M:System.Windows.Controls.ToolTipService.GetToolTip(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetToolTip(System.Windows.DependencyObject,System.Object)" />
</Docs>
</Member>
<Member MemberName="ToolTipClosing">
<MemberSignature Language="C#" Value="see AddToolTipClosingHandler, and RemoveToolTipClosingHandler" />
<MemberSignature Language="ILAsm" Value="see AddToolTipClosingHandler, and RemoveToolTipClosingHandler" />
<MemberSignature Language="DocId" Value="E:System.Windows.Controls.ToolTipService.ToolTipClosing" />
<MemberSignature Language="VB.NET" Value="see AddToolTipClosingHandler, and RemoveToolTipClosingHandler" />
<MemberSignature Language="F#" Value="see AddToolTipClosingHandler, and RemoveToolTipClosingHandler" Usage="see AddToolTipClosingHandler, and RemoveToolTipClosingHandler" />
<MemberType>AttachedEvent</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Occurs when the <see cref="T:System.Windows.Controls.ToolTip" /> closes.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToolTipClosingEvent">
<MemberSignature Language="C#" Value="public static readonly System.Windows.RoutedEvent ToolTipClosingEvent;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.RoutedEvent ToolTipClosingEvent" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.ToolTipClosingEvent" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ToolTipClosingEvent As RoutedEvent " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::RoutedEvent ^ ToolTipClosingEvent;" />
<MemberSignature Language="F#" Value=" staticval mutable ToolTipClosingEvent : System.Windows.RoutedEvent" Usage="System.Windows.Controls.ToolTipService.ToolTipClosingEvent" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.RoutedEvent</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipClosing" /> event that is exposed by objects that use the <see cref="T:System.Windows.Controls.ToolTipService" /> service to display tooltips.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.ToolTipService.ToolTipClosing> event occurs immediately before a tooltip closes.
This field registers the behavior of the <xref:System.Windows.Controls.ToolTipService.ToolTipClosingEvent> event for classes that use this service. The <xref:System.Windows.FrameworkElement> and <xref:System.Windows.FrameworkContentElement> classes both implement the <xref:System.Windows.Controls.ToolTipService> and expose this event through the [!INCLUDE[TLA#tla_clr](~/includes/tlasharptla-clr-md.md)] accessors <xref:System.Windows.FrameworkElement.ToolTipClosing?displayProperty=nameWithType> and <xref:System.Windows.FrameworkContentElement.ToolTipClosing?displayProperty=nameWithType>.
If you specify the tooltip as a <xref:System.Windows.Controls.ToolTip> object, the <xref:System.Windows.Controls.ToolTip.Closed> event is also raised when the tooltip closes.
## Examples
The following example shows how to set an event handler for the <xref:System.Windows.Controls.ToolTipService.ToolTipClosing> event. In this case, the event handler is actually for <xref:System.Windows.FrameworkElement.ToolTipClosing?displayProperty=nameWithType>, because the <xref:System.Windows.Shapes.Ellipse> where the handler is attached is a derived class of <xref:System.Windows.FrameworkElement>.
[!code-csharp[ToolTipService#ToolTipServiceEventHandlers](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#tooltipserviceeventhandlers)]
[!code-vb[ToolTipService#ToolTipServiceEventHandlers](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#tooltipserviceeventhandlers)]
[!code-csharp[ToolTipService#ToolTipOpenAndCloseHandler](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#tooltipopenandclosehandler)]
[!code-vb[ToolTipService#ToolTipOpenAndCloseHandler](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#tooltipopenandclosehandler)]
]]></format>
</remarks>
<altmember cref="E:System.Windows.Controls.ToolTipService.ToolTipClosing" />
<altmember cref="E:System.Windows.FrameworkElement.ToolTipClosing" />
<altmember cref="E:System.Windows.FrameworkContentElement.ToolTipClosing" />
<altmember cref="E:System.Windows.Controls.ToolTip.Closed" />
<altmember cref="F:System.Windows.Controls.ToolTipService.ToolTipOpeningEvent" />
<altmember cref="T:System.Windows.Controls.ToolTipEventArgs" />
<altmember cref="T:System.Windows.Controls.ToolTipEventHandler" />
</Docs>
</Member>
<Member MemberName="ToolTipOpening">
<MemberSignature Language="C#" Value="see AddToolTipOpeningHandler, and RemoveToolTipOpeningHandler" />
<MemberSignature Language="ILAsm" Value="see AddToolTipOpeningHandler, and RemoveToolTipOpeningHandler" />
<MemberSignature Language="DocId" Value="E:System.Windows.Controls.ToolTipService.ToolTipOpening" />
<MemberSignature Language="VB.NET" Value="see AddToolTipOpeningHandler, and RemoveToolTipOpeningHandler" />
<MemberSignature Language="F#" Value="see AddToolTipOpeningHandler, and RemoveToolTipOpeningHandler" Usage="see AddToolTipOpeningHandler, and RemoveToolTipOpeningHandler" />
<MemberType>AttachedEvent</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Occurs when the <see cref="T:System.Windows.Controls.ToolTip" /> opens.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToolTipOpeningEvent">
<MemberSignature Language="C#" Value="public static readonly System.Windows.RoutedEvent ToolTipOpeningEvent;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.RoutedEvent ToolTipOpeningEvent" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.ToolTipOpeningEvent" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ToolTipOpeningEvent As RoutedEvent " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::RoutedEvent ^ ToolTipOpeningEvent;" />
<MemberSignature Language="F#" Value=" staticval mutable ToolTipOpeningEvent : System.Windows.RoutedEvent" Usage="System.Windows.Controls.ToolTipService.ToolTipOpeningEvent" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.RoutedEvent</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="E:System.Windows.Controls.ToolTipService.ToolTipOpening" /> event that is exposed by objects that use the <see cref="T:System.Windows.Controls.ToolTipService" /> service to display tooltips.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Controls.ToolTipService.ToolTipOpening> event occurs immediately before a tooltip opens. This event does not occur if the tooltip is not defined or if the tooltip content is set to null.
This field registers the behavior of the <xref:System.Windows.Controls.ToolTipService.ToolTipOpening> event for classes that use this service. The <xref:System.Windows.FrameworkElement> and <xref:System.Windows.FrameworkContentElement> classes both implement the <xref:System.Windows.Controls.ToolTipService> and expose this event through the [!INCLUDE[TLA#tla_clr](~/includes/tlasharptla-clr-md.md)] accessors <xref:System.Windows.FrameworkElement.ToolTipOpening?displayProperty=nameWithType> and <xref:System.Windows.FrameworkContentElement.ToolTipOpening?displayProperty=nameWithType>.
If you specify the tooltip as a <xref:System.Windows.Controls.ToolTip> object, the <xref:System.Windows.Controls.ToolTip.Opened> event is also raised when the tooltip opens.
## Examples
The following example shows how to set an event handler for the <xref:System.Windows.FrameworkElement.ToolTipOpening?displayProperty=nameWithType> event. In this case, the event handler is actually for <xref:System.Windows.FrameworkElement.ToolTipOpening?displayProperty=nameWithType>, because the <xref:System.Windows.Shapes.Ellipse> where the handler is attached is a derived class of <xref:System.Windows.FrameworkElement>.
[!code-csharp[ToolTipService#ToolTipServiceEventHandlers](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#tooltipserviceeventhandlers)]
[!code-vb[ToolTipService#ToolTipServiceEventHandlers](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#tooltipserviceeventhandlers)]
[!code-csharp[ToolTipService#ToolTipOpenAndCloseHandler](~/samples/snippets/csharp/VS_Snippets_Wpf/ToolTipService/CSharp/Pane1.xaml.cs#tooltipopenandclosehandler)]
[!code-vb[ToolTipService#ToolTipOpenAndCloseHandler](~/samples/snippets/visualbasic/VS_Snippets_Wpf/ToolTipService/visualbasic/pane1.xaml.vb#tooltipopenandclosehandler)]
]]></format>
</remarks>
<altmember cref="E:System.Windows.Controls.ToolTipService.ToolTipOpening" />
<altmember cref="E:System.Windows.FrameworkElement.ToolTipOpening" />
<altmember cref="E:System.Windows.FrameworkContentElement.ToolTipOpening" />
<altmember cref="F:System.Windows.Controls.ToolTipService.ToolTipClosingEvent" />
<altmember cref="T:System.Windows.Controls.ToolTipEventArgs" />
<altmember cref="T:System.Windows.Controls.ToolTipEventHandler" />
<altmember cref="E:System.Windows.Controls.ToolTip.Opened" />
</Docs>
</Member>
<Member MemberName="ToolTipProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty ToolTipProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty ToolTipProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.ToolTipProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly ToolTipProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ ToolTipProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable ToolTipProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.ToolTipProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.ToolTip" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="VerticalOffset">
<MemberSignature Language="C#" Value="see GetVerticalOffset, and SetVerticalOffset" />
<MemberSignature Language="ILAsm" Value="see GetVerticalOffset, and SetVerticalOffset" />
<MemberSignature Language="DocId" Value="P:System.Windows.Controls.ToolTipService.VerticalOffset" />
<MemberSignature Language="VB.NET" Value="see GetVerticalOffset, and SetVerticalOffset" />
<MemberSignature Language="F#" Value="see GetVerticalOffset, and SetVerticalOffset" Usage="see GetVerticalOffset, and SetVerticalOffset" />
<MemberType>AttachedProperty</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Gets or sets the distance from the top of the area that is specified for the tooltip by the <see cref="P:System.Windows.Controls.ToolTipService.PlacementRectangle" /> and <see cref="P:System.Windows.Controls.ToolTipService.PlacementTarget" /> properties.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is an attached property. For information about how to get or set the value of this property in code, see the <xref:System.Windows.Controls.ToolTipService.GetVerticalOffset%2A> and <xref:System.Windows.Controls.ToolTipService.SetVerticalOffset%2A> methods. <xref:System.Windows.Controls.ToolTipService.VerticalOffset%2A> behaves similarly to the <xref:System.Windows.Controls.Primitives.Popup.VerticalOffset%2A?displayProperty=nameWithType> property. For more information, see [Popup Placement Behavior](~/docs/framework/wpf/controls/popup-placement-behavior.md).
<a name="xamlAttributeUsage_VerticallOffset"></a>
## XAML Attribute Usage
```
<object VerticalOffset="double"/>
- or -
<object VerticalOffset="qualifiedDouble"/>
```
<a name="xamlValues_VerticalOffset"></a>
## XAML Values
`double`
<xref:System.Double>
The string representation of a <xref:System.Double> value that is equal to or greater than 0.0 but smaller than <xref:System.Double.PositiveInfinity?displayProperty=nameWithType>. This is interpreted as a device-independent unit (1/96th inch) measurement. Strings do not have to explicitly include decimal points.
`qualifiedDouble`
A <xref:System.Double> value that is followed by one of these unit declaration strings: `px`, `in`, `cm`, `pt`.
`px` (default) is [!INCLUDE[TLA#tla_dipixel#plural](~/includes/tlasharptla-dipixelsharpplural-md.md)]
`in` is inches; 1in==96px
`cm` is centimeters; 1cm==(96/2.54) px
`pt` is points; 1pt==(96/72) px
<a name="dependencyPropertyInfo_VerticalOffset"></a>
## Dependency Property Information
|||
|-|-|
|Identifier field|<xref:System.Windows.Controls.ToolTipService.VerticalOffsetProperty>|
|Metadata properties set to `true`|None|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Controls.ToolTipService.GetVerticalOffset(System.Windows.DependencyObject)" />
<altmember cref="M:System.Windows.Controls.ToolTipService.SetVerticalOffset(System.Windows.DependencyObject,System.Double)" />
<altmember cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" />
</Docs>
</Member>
<Member MemberName="VerticalOffsetProperty">
<MemberSignature Language="C#" Value="public static readonly System.Windows.DependencyProperty VerticalOffsetProperty;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly class System.Windows.DependencyProperty VerticalOffsetProperty" />
<MemberSignature Language="DocId" Value="F:System.Windows.Controls.ToolTipService.VerticalOffsetProperty" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly VerticalOffsetProperty As DependencyProperty " />
<MemberSignature Language="C++ CLI" Value="public: static initonly System::Windows::DependencyProperty ^ VerticalOffsetProperty;" />
<MemberSignature Language="F#" Value=" staticval mutable VerticalOffsetProperty : System.Windows.DependencyProperty" Usage="System.Windows.Controls.ToolTipService.VerticalOffsetProperty" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>PresentationFramework</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.DependencyProperty</ReturnType>
</ReturnValue>
<Docs>
<summary>Identifies the <see cref="P:System.Windows.Controls.ToolTipService.VerticalOffset" /> attached property.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.