diff --git a/src/Avalonia.Controls/TextBox.cs b/src/Avalonia.Controls/TextBox.cs index 2d14ff0f79..30a3eb7863 100644 --- a/src/Avalonia.Controls/TextBox.cs +++ b/src/Avalonia.Controls/TextBox.cs @@ -107,10 +107,10 @@ namespace Avalonia.Controls TextBlock.TextWrappingProperty.AddOwner(); /// - /// Defines see property. + /// Defines see property. /// public static readonly StyledProperty LineHeightProperty = - AvaloniaProperty.Register(nameof(LineHeight), defaultValue: double.NaN); + TextPresenter.LineHeightProperty.AddOwner(); public static readonly StyledProperty WatermarkProperty = AvaloniaProperty.Register(nameof(Watermark)); @@ -366,7 +366,7 @@ namespace Avalonia.Controls } /// - /// Gets or sets the line height. By default, this is set to , which determines the appropriate height automatically. + /// Gets or sets the line height. /// public double LineHeight {