ToolTipService.VerticalOffset Attached Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the distance from the top of the area that is specified for the tooltip by the PlacementRectangle and PlacementTarget properties.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

See GetVerticalOffset, SetVerticalOffset

Property Value

Type: System.Double

A value that specifies a vertical distance. The default value is zero (0).

This property is an attached property. For information about how to get or set the value of this property in code, see the GetVerticalOffset and SetVerticalOffset methods. VerticalOffset behaves similarly to the Popup.VerticalOffset property. For more information, see Popup Placement Behavior.

<object VerticalOffset="double"/>
- or -
<object VerticalOffset="qualifiedDouble"/>



The string representation of a Double value that is equal to or greater than 0.0 but smaller than Double.PositiveInfinity. This is interpreted as a device-independent unit (1/96th inch) measurement. Strings do not have to explicitly include decimal points.


A Double value that is followed by one of these unit declaration strings: px, in, cm, pt.

px (default) is device-independent units (1/96th inch per unit)

in is inches; 1in==96px

cm is centimeters; 1cm==(96/2.54) px

pt is points; 1pt==(96/72) px

Identifier field


Metadata properties set to true


Return to top