PasswordBox.BaselineOffset Property

July 28, 2014

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:
© 2014 Microsoft