Редагувати

Поділитися через


ToolTipService.VerticalOffset Attached Property

Definition

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

see GetVerticalOffset, and SetVerticalOffset
see GetVerticalOffset, and SetVerticalOffset
see GetVerticalOffset, and SetVerticalOffset

Remarks

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.

XAML Attribute Usage

<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

Dependency Property Information

Identifier field VerticalOffsetProperty
Metadata properties set to true None

Applies to

See also