Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ToolTipService::VerticalOffset Attached Property

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

See GetVerticalOffset, SetVerticalOffset
<object VerticalOffset="double"/>
- or -
<object VerticalOffset="qualifiedDouble"/>

XAML Values

double

Double

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.

qualifiedDouble

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

Property Value

Type: System::Double
A value that specifies a vertical distance. The default value is zero (0).

Identifier field

VerticalOffsetProperty

Metadata properties set to true

None

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft