diff --git a/src/Avalonia.Controls/Documents/Inline.cs b/src/Avalonia.Controls/Documents/Inline.cs index a6fe57e66e..7de3ce9d98 100644 --- a/src/Avalonia.Controls/Documents/Inline.cs +++ b/src/Avalonia.Controls/Documents/Inline.cs @@ -10,10 +10,11 @@ namespace Avalonia.Controls.Documents /// public abstract class Inline : TextElement { + // TODO12: change the field type to an AttachedProperty for consistency (breaking change) /// /// AvaloniaProperty for property. /// - public static readonly AttachedProperty TextDecorationsProperty = + public static readonly StyledProperty TextDecorationsProperty = AvaloniaProperty.RegisterAttached( nameof(TextDecorations), inherits: true);