Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PasswordBox.BaselineOffset Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a value by which each line of text is offset from a baseline.

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

public double BaselineOffset { get; }

Property Value

Type: System.Double
The amount by which each line of text is offset from the baseline, in logical pixels. NaN indicates that an optimal baseline offset is automatically calculated from the current font characteristics. The default is NaN.

The baseline is the imaginary horizontal line with which the base of each character in a line of text is aligned.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show: