ToolTipService.HorizontalOffset ToolTipService.HorizontalOffset ToolTipService.HorizontalOffset Attached Property

Definition

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

see GetHorizontalOffset, and SetHorizontalOffset
see GetHorizontalOffset, and SetHorizontalOffset
see GetHorizontalOffset, and SetHorizontalOffset

Remarks

The HorizontalOffset property and the VerticalOffset property values provide additional adjustment to the position of a tooltip that is defined by the PlacementTarget property and the PlacementRectangle property values.

HorizontalOffset behaves similarly to the Popup.HorizontalOffset property. For more information, see Popup Placement Behavior.

XAML Attribute Usage

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

XAML Values

double
Double

A string representation of a Double value that is equal to or greater than 0.0 but that is smaller than Double.PositiveInfinity. 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 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

For information about how to get or set this property in code, see the GetHorizontalOffset and SetHorizontalOffset methods.

Dependency Property Information

Identifier field HorizontalOffsetProperty
Metadata properties set to true None

Applies to

See also