ToolTipService::HorizontalOffset Attached Property
Gets or sets the offset from the left of the area that is specified for the tooltip by the PlacementRectangle and PlacementTarget properties.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::DoubleA value that specifies a horizontal distance. The default value is zero (0).
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.
<object HorizontalOffset="double"/> - or - <object HorizontalOffset="qualifiedDouble"/>
- 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.
Identifier field | |
Metadata properties set to true | None |